Problem | 3nplus1 |
---|---|
User | WHEE29alt |
Submission Time | 2024-06-18 10:17:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:8: error: expected ‘(’ before ‘n’
5 | while n!=1{
| ^
| (
3nplus1.cpp:5:12: error: expected ‘)’ before ‘{’ token
5 | while n!=1{
| ~ ^
| )
3nplus1.cpp:6:6: error: expected ‘(’ before ‘n’
6 | if n%2!=0{
| ^
| (
3nplus1.cpp:9:3: error: ‘else’ without a previous ‘if’
9 | else{
| ^~~~