This preview shows page 1. Sign up to view the full content.
Unformatted text preview: if (ans == 0) cout<<"The number is not a prime number" else cout<<"The number is a prime number" } cout<<"\nDo you want to continue? (Y) " cin>>ContinueLoop cout<<endl ContinueLoop = toupper(ContinueLoop) }//end of ContinueLoop } cout<<"\nGood-bye!" return 0 }...
View Full Document
This note was uploaded on 05/16/2010 for the course CISCO EST61 taught by Professor Miller during the Spring '10 term at Fresno City College.
- Spring '10