Problem maximum
User Tez
Submission Time 2023-11-10 15:36:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp: In function ‘int main()’:
maximum.cpp:5:3: error: expected primary-expression before ‘if’
5 | if (a>b){
| ^~
maximum.cpp:5:3: error: expected ‘}’ before ‘if’
maximum.cpp:4:21: note: to match this ‘{’
4 | int a,b,finalnumber{
| ^
maximum.cpp:7:3: error: ‘else’ without a previous ‘if’
7 | else if (b>a){
| ^~~~
maximum.cpp:8:13: error: expected ‘;’ before ‘}’ token
8 | cout << b}
| ^
| ;