Invalid operands to binary. Invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’.