0_0_15586680_32296.cpp: In function 'int main()':
0_0_15586680_32296.cpp:12:2: error: expected initializer before 'double'
double sum;
^
0_0_15586680_32296.cpp:17:3: error: 'sum' was not declared in this scope
sum=1;
^
0_0_15586680_32296.cpp:18:7: error: 'i' was not declared in this scope
for(i=2;i<=n;i++){
^
|