Problem | ultimateifelse |
---|---|
User | PrunJuice |
Submission Time | 2023-10-22 17:44:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:8:54: error: expected ‘;’ before ‘}’ token
8 | if (int N = 1) {cout << "one";} else {cout << "clown"}
| ^
| ;
ultimateifelse.cpp:9:52: error: expected ‘;’ before ‘}’ token
9 | if (int N = 9) {cout << "9";} else {cout << "clown"}
| ^
| ;
ultimateifelse.cpp:10:12: error: expected unqualified-id before ‘=’ token
10 | if (string = "hello", "output", "world")
| ^
ultimateifelse.cpp:11:12: error: expected unqualified-id before ‘=’ token
11 | if (string = "world" && int N = 3) {cout << "andss";} else {cout << "clown"}
| ^
ultimateifelse.cpp:11:76: error: expected ‘;’ before