Main.cc: In function 'int main()':
Main.cc:9:4: warning: statement has no effect [-Wunused-value]
n/10;
^
Main.cc:12:2: error: expected ';' before 'for'
for(int j=1;j<=i;j++){
^
Main.cc:12:14: error: 'j' was not declared in this scope
for(int j=1;j<=i;j++){
^