Problem | 3nplus1 |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-20 14:06:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:10: error: expected ‘;’ before ‘while’
6 | cin >> n
| ^
| ;
7 | while(n % 2 == 0) {
| ~~~~~
3nplus1.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
3nplus1.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^