Main.cc: In function ‘int main()’: Main.cc:9:20: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’ int yushu = 20 % (3.14 * r * h); ~~~^~~~~~~~~~~~~~~~