Main.cc: In function 'int main()': Main.cc:14:15: error: 'x' was not declared in this scope for(int i=x-1;i