Problem | psle |
---|---|
User | Aryankcode2024 |
Submission Time | 2024-06-20 10:14:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:5:5: error: ‘cout’ was not declared in this scope
5 | cout << "Enter the score: ";
| ^~~~
psle.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> score;
| ^~~
psle.cpp:20:26: error: expected ‘;’ before ‘{’ token
20 | } else if (score < 20{
| ^
| ;
psle.cpp:23:5: error: expected primary-expression before ‘return’
23 | return 0;
| ^~~~~~
psle.cpp:22:3: error: expected ‘)’ before ‘return’
22 | }
| ^
| )
23 | return 0;
| ~~~~~~
psle.cpp:20:15: note: to match this ‘(’
20 | } else if (score < 20{
| ^