Problem | rightangtri |
---|---|
User | SMJ360 |
Submission Time | 2024-06-18 11:23:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:5:8: error: expected initializer before ‘==’ token
5 | int n == 0;
| ^~
rightangtri.cpp:6:9: error: ‘n’ was not declared in this scope
6 | cin >> n;
| ^
rightangtri.cpp:8:3: error: ‘c’ was not declared in this scope
8 | c = "*" * i;
| ^
rightangtri.cpp:8:11: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
8 | c = "*" * i;
| ~~~ ^ ~
| | |
| | int
| const char [2]