Main.cc: In function ‘int main()’:
Main.cc:13:19: error: expected ‘;’ before ‘<=’ token
for(int k=0, k<=n, k++);
^~
Main.cc:13:19: error: expected primary-expression before ‘<=’ token
Main.cc:13:27: error: expected ‘;’ before ‘)’ token
for(int k=0, k<=n, k++);
^
Main.cc:13:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int k=0, k<=n, k++);
^~~
Main.cc:14:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
{
^
Main.cc:15:23: error: ‘k’ was not declared in this scope
sum+= sign/(2*k+1);
^
Main.cc:19:33: error: ‘setprecision’ is not a member of ‘std’
std::cout<