Main.cc: In function 'int main()': Main.cc:9:1: error: 'g' was not declared in this scope g= a%10; ^ Main.cc:10:1: error: 's' was not declared in this scope s=(a/10)%10; ^ Main.cc:11:1: error: 'b' was not declared in this scope b=(a/100)%10; ^ Main.cc:12:1: error: 'q' was not declared in this scope q=(a/1000)%10; ^