Main.cc: In function 'int main()': Main.cc:8:22: error: invalid operands of types 'double' and 'double' to binary 'operator%' printf("%.2lf",a%b); ^