0_0_35746872_14568.cpp: In function 'int main()': 0_0_35746872_14568.cpp:21:11: error: invalid operands of types 'double' and 'int' to binary 'operator%' if(n%j==0) ^