This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (prime== true ) cout<< "The number " << n << " is prime." ; else cout<< "The number " << n << " is not prime." ; return ; } A Prime Example n i prime 10 3 false...
View Full Document
This note was uploaded on 11/16/2011 for the course COP 2271 taught by Professor Staff during the Fall '11 term at University of Florida.
- Fall '11
- Computer Programming