View Single Post
Old 03-20-2005, 04:51 PM   #3 (permalink)
cleverest
Registered User
 
Join Date: Mar 2005
Posts: 22
cleverest is on a distinguished road
Wow very nice, I really appreciate you taking the time to answer my inquiry as quickly as you did, if you want to reply again to the following that would rock!

Otherwise, thanks a million anyways!!

Your code will help me understand how to loop the CONTINUE prompt and such ,for sure, but.....it does not match the top dialog exactly (He is probably super picky about that) so I'll have to play around with it to figure out these remaining issues.

for instance:

1. The 'CONTINUE (y/N)' prompt needs to be before the: 'Was it a boom or bad year (o/a)?' question. (even though regardless BOTH questions get outputted to the screen, this confuses little 'ol me)
2. When finally answering N to the continue prompt it should display the: 'Your final population is " ' and then terminate, instead of just terminating the program without the final population shown. (determined by the last 'was it a boom or bad year' prompt.....)
3. The cout text line "Population: ####" should NOT display after answering the Y/N or O/A prompts.

Also we have covered briefly SWITCHES, do you think that would make this code easier as a beginner for me to create??

Thanks again.
cleverest is offline   Reply With Quote