Main.cc: In function 'int main()':
Main.cc:7:3: error: 'q' was not declared in this scope
q=i/10%10*i/10%10*i/10%10;
^
Main.cc:8:3: error: 'c' was not declared in this scope
c=i/100*i/100*i/100;
^
Main.cc:9:3: error: 'y' was not declared in this scope
y=%10*i%10*i%10;
^
Main.cc:9:5: error: expected primary-expression before '%' token
y=%10*i%10*i%10;
^