foo.cpp:39:9: error: too many decimal points in number
foo.cpp:1:1: error: 'include' does not name a type
foo.cpp: In function 'int main()':
foo.cpp:8:1: error: 'cin' was not declared in this scope
foo.cpp:23:5: error: 'cout' was not declared in this scope
foo.cpp:35:61: error: 'pow' was not declared in this scope
foo.cpp:35:107: error: 'sqrt' was not declared in this scope
foo.cpp:38:55: error: 'pow' was not declared in this scope
foo.cpp:38:100: error: 'sqrt' was not declared in this scope
foo.cpp:40:6: error: 'sum1000' was not declared in this scope
foo.cpp:41:6: error: 'sum100' was not declared in this scope
foo.cpp:48:1: error: 'cout' was not declared in this scope
foo.cpp:48:12: error: 'endl' was not declared in this scope