Problem 3nplus1
User zandy21
Submission Time 2025-06-16 16:18:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:14: error: ‘condition’ was not declared in this scope
10 | } else if (condition 2) {
| ^~~~~~~~~
3nplus1.cpp:10:23: error: expected ‘)’ before numeric constant
10 | } else if (condition 2) {
| ~ ^~
| )
3nplus1.cpp:13:12: error: expected ‘;’ before ‘}’ token
13 | cout << x
| ^
| ;
14 | };
| ~