+ 1
What wrong i am doing?? I am not getting output
logic behind this code i didn't get please help me https://code.sololearn.com/cX0nTU50qTQg/?ref=app
3 Answers
+ 4
yeah true
+ 3
cin gets user input.
cout returns something to the screen as output.
You don't have a cout command so nothing is returned,therefore no output.
+ 1
num is read 5 times. nothing is done with the read input. What output are you looking for? there is no output statement.