Tuesday, April 16, 2013

Need Help Using Do Loops and While Loops in C++

I have been doing super simple C++ for a while but when I got the idea to actually try and make something with it, I wasn't sure where to start. But it's very basic on what it's got to do, I just don't have the knowledge to fix it and my book that I'm learning from doesn't help me.
Here's the code:
 
 
The problem is in the end of the 'do' loop where I have tried to end it with a 'while' loop. I try to run the program as I have it but no matter what the user input is, everything repeats.
Thanks!

No comments:

Post a Comment