Problem | yayornay |
---|---|
User | Yvonne |
Submission Time | 2024-06-21 13:41:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
yayornay.cpp: In function ‘int main()’:
yayornay.cpp:5:11: error: expected unqualified-id before ‘==’ token
5 | if ( int == "CPIC" ) {
| ^~
yayornay.cpp:6:16: error: expected ‘;’ before ‘}’ token
6 | cout << "Yay"
| ^
| ;
7 | }
| ~
yayornay.cpp:8:16: error: expected unqualified-id before ‘==’ token
8 | else if ( int == "SGIO" ) {
| ^~
yayornay.cpp:9:16: error: expected ‘;’ before ‘}’ token
9 | cout << "Nay"
| ^
| ;
10 | }
| ~
yayornay.cpp:11:16: error: expected unqualified-id before ‘==’ token
11 | else if ( int =="s.length() < 4" ) {
| ^~
yayornay.cpp:12:18: error: expected ‘;’ before ‘}’ token
12 | cout << "Nay"
| ^
| ;<