Problem ultimateifelse
User Reality1001
Submission Time 2024-02-21 18:50:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:14:12: error: ‘hello’ was not declared in this scope; did you mean ‘ftello’?
14 | else if(s=hello){
| ^~~~~
| ftello
ultimateifelse.cpp:17:13: error: ‘world’ was not declared in this scope
17 | else if (s=world && n=3){
| ^~~~~
ultimateifelse.cpp:20:13: error: ‘hmm’ was not declared in this scope
20 | else if (s=hmm){
| ^~~
ultimateifelse.cpp:23:11: error: ‘length’ was not declared in this scope
23 | else if (length(s)>5){
| ^~~~~~
ultimateifelse.cpp:29:15: error: lvalue required as left operand of assignment
29 | else if (n%2=0){
| ^
ultimateifelse.cpp:30:34: error: expected ‘;’ before ‘}’ token
30 | cout << "222222222222222222222"
| ^
| ;
31