write a program that will prompt for and receive your age in years and months and calculate and display your age in months.if the amount is more than 500, three asterisks should appear beside the month figure. your program is to continue until a sentinel of 999 is entered?
write a program that will prompt for and receive your age in years and months and calculate and display your age in months.if the amount is more than 500, three asterisks should appear beside the month figure. your program is to continue until a sentinel of 999 is entered?
i don't know how to write this program an its for my homework please help me i am a beginner.
Actually, that's more or less correct, except the cin << age; line - that one needs to go. The closing quotation mark in line 10 is at the wrong place too.
Now you just need one more line to print the result and a closing brace for main().
i cant move from here what is the next step. my teacher told me to include a while statement in the program. why cant u just write the program for me so that i can see the steps in detail please.