Problem rightangtri
User SMJ360
Submission Time 2024-06-18 11:24:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:16: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
8 | char c = "*" * i;
| ~~~ ^ ~
| | |
| | int
| const char [2]