Problem exam
User Elwinthenerd
Submission Time 2024-03-30 15:46:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:4: error: expected ‘(’ before ‘x’
6 | if x = 1;
| ^
| (
exam.cpp:8:1: error: ‘else’ without a previous ‘if’
8 | else;
| ^~~~