Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Reading numbers with FOR loop solved: New problem emerges
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Old Wolf, post: 2860527"] You will need to be more specific than "not working". Also, what do you mean by "next runs". Did you quit the program and run it again, or did you actually mean that you went through your main loop again in the same run? What will happen if they enter -1, or 15, or "Hello", for the number of months? In fact, what is the purpose of the 'while' condition, since you never check it after the user input? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Reading numbers with FOR loop solved: New problem emerges
Top