Main.cc: In function ‘int main()’: Main.cc:10:17: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’ int x=(a/b+a%b)*100; ~^~