Problem 3nplus1
User ChessyBoy
Submission Time 2024-04-05 13:50:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:3:6: error: expected constructor, destructor, or type conversion before ‘(’ token
3 | scanf("enter number",&a)
| ^
3nplus1.cpp:8:3: error: expected unqualified-id before ‘else’
8 | }else if(a/2==0){
| ^~~~
3nplus1.cpp:13:1: error: expected unqualified-id before ‘return’
13 | return 0;
| ^~~~~~