0_0_24023515_28540.cpp: In function 'int main()': 0_0_24023515_28540.cpp:35:26: error: invalid operands of types 'double' and 'int' to binary 'operator%' int b=(sum*1000)%10; ^