Problem firstabc
User Tez
Submission Time 2023-12-06 09:22:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firstabc.cpp: In function ‘int main()’:
firstabc.cpp:7:18: error: ‘ABC’ was not declared in this scope
7 | while (count != ABC){
| ^~~
firstabc.cpp:11:11: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
11 | if (s = "A" ){
| ^~~
| |
| const char*
firstabc.cpp:15:16: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
15 | else if (s = "B"){
| ^~~
| |
| const char*
firstabc.cpp:19:16: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
19 | else if (s = "C"){
| ^~~
| |
| const char*