Problem ippt
User ilovepythonandhatecplusplus
Submission Time 2024-02-28 17:20:30
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 ‘cin’
5 | 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:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
10 | cout<<"PASS"
| ^~~~
| std::cout
In file included from ippt.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
ippt.cpp:12:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
12 | cout<<