/* program to show how to run a program a number of times till the user says no more! */ #include int main( void ) { char yesOrNo = 'y'; while ( yesOrNo == 'y' || yesOrNo == 'Y' ) { cout << "This is the part of my program that " "does Something Wonderful....\n\n"; cout << "Do you want to do Something Wonderful again (y/n): "; cin >> yesOrNo; } }