Problem 3nplus1
User NoynYT
Submission Time 2023-04-28 18:19:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:9: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
10 | if (n%2==0){
| ~^~
| | |
| | int
| double