Problem ippt
User ilovepythonandhatecplusplus
Submission Time 2024-02-28 17:21:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:5:1: error: expected initializer before ‘std’
5 | std::cin>>a>>b>>c
| ^~~
ippt.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | }else if(total=<74){
| ^~~~
ippt.cpp:9:10: error: ‘total’ was not declared in this scope
9 | }else if(total=<74){
| ^~~~~
ippt.cpp:9:16: error: expected primary-expression before ‘<’ token
9 | }else if(total=<74){
| ^
ippt.cpp:10:19: error: expected ‘;’ before ‘}’ token
10 | std::cout<<"PASS"
| ^
| ;
11 | }else if(total<=84){
| ~
ippt.cpp:12:24: error: expected ‘;’ before ‘}’ token
12 | std::cout<<"SILVER"
| ^
| ;
13 | }else{
| ~
ippt.cpp:14:22: error: expecte