Problem 3nplus1
User Um
Submission Time 2023-04-28 18:55:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
4 | if (n==int){
| ^
| yn
3nplus1.cpp:4:8: error: expected primary-expression before ‘int’
4 | if (n==int){
| ^~~
3nplus1.cpp:4:8: error: expected ‘)’ before ‘int’
4 | if (n==int){
| ~ ^~~
| )
3nplus1.cpp:11:1: error: expected ‘}’ at end of input
11 | }
| ^
3nplus1.cpp:3:12: note: to match this ‘{’
3 | int main(){
| ^