Main.cc: In function 'int main()':
Main.cc:10:9: error: 'i' was not declared in this scope
for(i=y;i<=y+10;i++){
^
Main.cc:16:10: error: 'n' was not declared in this scope
m=m*n;
^
Main.cc:20:1: error: expected '}' at end of input
}
^