Problem | divideby2 |
---|---|
User | WILLI1071A |
Submission Time | 2024-08-05 18:27:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
divideby2.cpp: In function ‘int main()’:
divideby2.cpp:13:22: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
13 | remainder = input%2;
| ~~~~~^~
| | |
| | int
| double