| Problem | ultimateifelse |
|---|---|
| User | boaznumberd5555 |
| Submission Time | 2026-02-03 20:22:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:6:27: error: expected ‘;’ before ‘else’
6 | if(N == 1) cout<<"one"
| ^
| ;
7 | else if(n == 9) cout<<9;
| ~~~~
ultimateifelse.cpp:8:22: error: expected initializer before ‘==’ token
8 | else if(string S == "hello") cout<<world;
| ^~
ultimateifelse.cpp:8:21: error: expected ‘)’ before ‘==’ token
8 | else if(string S == "hello") cout<<world;
| ~ ^~~
| )
ultimateifelse.cpp:8:32: error: could not convert ‘S’ from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’
8 | else if(string S == "hello") cout<<world;
| ^
| |
|