Problem exam
User avner21
Submission Time 2023-01-16 16:35:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:12:2: error: expected initializer before ‘cin’
12 | cin >> fn >> sn;
| ^~~
exam.cpp:13:15: error: ‘sn’ was not declared in this scope; did you mean ‘fn’?
13 | cout << fn * sn;
| ^~
| fn
exam.cpp:16:3: error: ‘else’ without a previous ‘if’
16 | else {
| ^~~~