Main.cc: In function 'int main()':
Main.cc:11:19: error: expected ')' before ';' token
if(g=i%100;
^
Main.cc:11:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Main.cc:13:20: error: expected primary-expression before ')' token
b=i/100;)
^
Main.cc:15:27: error: 'i' was not declared in this scope
if(g*g*g+s*s*s+b*b*b==i){
^