Main.cc: In function 'int main()':
Main.cc:7:20: error: invalid operands of types 'int*' and 'char' to binary 'operator%'
scanf("%d%c%d",&a%c&b);
^
Main.cc: In function 'int main()':
Main.cc:18:5: error: redefinition of 'int main()'
int main(){
^
Main.cc:4:5: note: 'int main()' previously defined here
int main(){
^
Main.cc:21:20: error: invalid operands of types 'int*' and 'char' to binary 'operator%'
scanf("%d%c%d",&a%c&b);
^