Problem ultimateifelse
User YTj
Submission Time 2023-07-13 13:01:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:6:79: error: ‘hello’ was not declared in this scope; did you mean ‘ftello’?
6 | cin >> n >> s;if(n==1) cout << "one";else if (n== 9){cout << 9;}else if (s== hello) cout << world;else if (s== world and n== 3) cout << andss;else if (s== hmm or n== 20) cout << sus;else if(s.size() > 5) cout << long;else if(s.size() ==n) cout << equal;else if(n%2==0) cout<< 222222222222222222222;else cout << clown;
| ^~~~~
| ftello
ultimateifelse.cpp:6:94: error: ‘world’ was not declared in this scope
6 | cin >> n >> s;if(n==1) cout << "one";else if (n== 9){cout << 9;}else if (s== hello) cout << world;else if (s== world and n== 3) cout << andss;el