0_0_19397893_9258.cpp: In function 'int main()': 0_0_19397893_9258.cpp:13:22: error: invalid operands of types 'double' and 'int' to binary 'operator%' printf("%lf\n",sum%1000); ^