Main.cc: In function 'int main()': Main.cc:6:15: error: 'k' was not declared in this scope cin>>cir>>k; ^ Main.cc:11:7: error: 'b' was not declared in this scope b =ba%k; ^