0_0_36678243_18563.cpp:62:2: error: expected unqualified-id before '/' token
*/
^
0_0_36678243_18563.cpp:62:2: error: expected constructor, destructor, or type conversion before '/' token
0_0_36678243_18563.cpp: In function 'int main()':
0_0_36678243_18563.cpp:67:5: error: redefinition of 'int main()'
int main()
^
0_0_36678243_18563.cpp:52:5: note: 'int main()' previously defined here
int main()
^
0_0_36678243_18563.cpp:74:3: error: 'ans' was not declared in this scope
ans[i]=ans[i-1]+sum;
^
0_0_36678243_18563.cpp:79:20: error: 'ans' was not declared in this scope
printf("%.2lf\n",ans[n]);
^
|