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