Posts by André Porto • 31 points
1 post
-
3
votes3
answers91
viewsA: My program compiles but hangs on the first printf
Missed to put & before variable in scanf. So it is much better to use library and use Cin instead of scanf. You used "Return 0" at the end? Your code would be (excerpt): include using namespace…