Problem rightangtri
User SMILE
Submission Time 2024-04-20 09:13:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin>>n;
| ^~~
rightangtri.cpp:5:20: error: expected ‘;’ before ‘<’ token
5 | for (int j = 0, j < i+1, j++){
| ^~
| ;
rightangtri.cpp:5:21: error: expected primary-expression before ‘<’ token
5 | for (int j = 0, j < i+1, j++){
| ^
rightangtri.cpp:5:31: error: expected ‘;’ before ‘)’ token
5 | for (int j = 0, j < i+1, j++){
| ^
| ;
rightangtri.cpp:6:4: error: ‘cout’ was not declared in this scope
6 | cout<<"*"*i
| ^~~~
rightangtri.cpp:6:13: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
6 | cout<<"*"*i
| ~~~^~
| | |