Problem exam
User Scissors264
Submission Time 2023-02-24 16:54:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main();
| ~~~
exam.cpp:5:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | cin >> a;
| ^~~
| sin
exam.cpp:6:4: error: expected ‘)’ before ‘==’ token
6 | (a == 1) ? cout << "False": cin >> b >> c;
| ~ ^~~
| )
exam.cpp:7:1: error: ‘cout’ does not name a type
7 | cout << b*c;
| ^~~~
exam.cpp:8:1: error: expected declaration before ‘}’ token
8 | }
| ^