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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:25: error: expected ‘;’ before ‘if’
4 | scanf("enter number",&a)
| ^
| ;
5 | if(a/2==1){
| ~~
3nplus1.cpp:12:18: error: expected ‘;’ before ‘}’ token
12 | printf("%d",a)
| ^
| ;
13 | }
| ~