/* 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' ) { printf( "This is the part of my program that does Something " "Wonderful....\n\n" ); printf( "Do you want to do Something Wonderful again (y/n): " ); scanf( " %c", &yesOrNo ); } }