primeScript.html
Script started on Mon Mar 10 14:05:38
2010
mmartin@cs.csustan.edu:(~/cs1500/lab3) g++ lab03.cpp
mmartin@cs.csustan.edu:(~/cs1500/lab3) a.out
Program to compute prime numbers less than n.
Enter a positive integer n: 10
2
3
5 7
There are 4 primes less than 10.
mmartin@cs.csustan.edu:(~/cs1500/lab3) a.out
Program to compute prime numbers less than n.
Enter a positive integer n: 50
2
3
5
7 11
13 17
19 23
29 31
37 41
43 47
There are 15 primes less than 50.
mmartin@cs.csustan.edu:(~/cs1500/lab3) exit
exit
Script done on Mon Mar 10 14:06:16 2010