Main.cc: In function 'int main()':
Main.cc:6:18: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=1;i<=n,i++){
^
Main.cc:6:25: error: expected ';' before ')' token
for(int i=1;i<=n,i++){
^
Main.cc:10:21: error: 'i' was not declared in this scope
for( j=1;j<=100,i++){
^
Main.cc:10:24: error: expected ';' before ')' token
for( j=1;j<=100,i++){
^