sprog3.script.html


mmartin@cs.csustan.edu:(~/cs1500/solo3) more sprog3.script
Script started on Wed Mar 19 17:46:26 2008
mmartin@cs.csustan.edu:(~/cs1500/solo3) g++ sprog3.cpp
mmartin@cs.csustan.edu:(~/cs1500/solo3) a.out
Enter four values, separated by white space andterminated with <CR>
I will compute the average and standard deviation.
1
2
3
4
The Average is: 2.5
The Standard Deviation is: 1.29099
Y/y continues, any other quits.
y
Enter four values, separated by white space andterminated with <CR>
I will compute the average and standard deviation.
2
4
6
8
The Average is: 5
The Standard Deviation is: 2.58199
Y/y continues, any other quits.
q
mmartin@cs.csustan.edu:(~/cs1500/solo3) exit
exit

Script done on Wed Mar 19 17:46:55 2008