Main.cc: In function ‘int main()’: Main.cc:7:8: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’ r=a%b; ~^~