foo.cc: In function ‘int main()’:
foo.cc:9:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
9 | {for(j=1;j<=n-i;j++)
| ^~~
foo.cc:10:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
10 | cout<<" ";cout<<" ";
| ^~~~
foo.cc:17:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
17 | {for(j=1;j<=i;j++)
| ^~~
foo.cc:18:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
18 | cout<<" ";cout<<" ";
| ^~~~