#include <iostream>
using namespace std;
int main( ) {
Contents of the file:
99.5
97.2
98.7
96
100
81.4
95.6
74.7
91.6
92
76.9
87
84.2
75.3
88.6
93.7
67.1
95.8
89.3
90.9
65.9
64.1
68.8
63
63.8
84.3
88.6
89.6
95.4
85.5
75.7
72.9
83.1
95
98.4
------
output:
Value #1: 99.5
Value #2: 97.2
Value #3: 98.7
ect. ( It just goes on)
and then the second output should display
The variance of the 35 values is: 135.76
the standard deviation of the 35 values is 11.65
the mean of the 35 values is: 84.85
return 0 ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CkNvbnRlbnRzIG9mIHRoZSBmaWxlOgo5OS41Cjk3LjIKOTguNwo5NgoxMDAKODEuNAo5NS42Cjc0LjcKOTEuNgo5Mgo3Ni45Cjg3Cjg0LjIKNzUuMwo4OC42CjkzLjcKNjcuMQo5NS44Cjg5LjMKOTAuOQo2NS45CjY0LjEKNjguOAo2Mwo2My44Cjg0LjMKODguNgo4OS42Cjk1LjQKODUuNQo3NS43CjcyLjkKODMuMQo5NQo5OC40Ci0tLS0tLQpvdXRwdXQ6CgpWYWx1ZSAjMTogOTkuNQpWYWx1ZSAjMjogOTcuMgpWYWx1ZSAjMzogOTguNwplY3QuIChJdCBqdXN0IGdvZXMgb24pCgphbmQgdGhlbiB0aGUgc2Vjb25kIG91dHB1dCBzaG91bGQgZGlzcGxheQoKVGhlIHZhcmlhbmNlIG9mIHRoZSAzNSB2YWx1ZXMgaXM6IDEzNS43Ngp0aGUgc3RhbmRhcmQgZGV2aWF0aW9uIG9mIHRoZSAzNSB2YWx1ZXMgaXMgMTEuNjUKdGhlIG1lYW4gb2YgdGhlIDM1IHZhbHVlcyBpczogODQuODUKCglyZXR1cm4gMDsKfQ==
compilation info
prog.cpp:44:7: error: stray '#' in program
Value #1: 99.5
^
prog.cpp:45:7: error: stray '#' in program
Value #2: 97.2
^
prog.cpp:46:7: error: stray '#' in program
Value #3: 98.7
^
prog.cpp: In function 'int main()':
prog.cpp:5:1: error: 'Contents' was not declared in this scope
Contents of the file:
^
stdout