Problem rightangtri
User ovuvuevuevueenyetuewuevue
Submission Time 2025-01-31 14:21:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:10:6: error: ‘i’ was not declared in this scope
10 | for(i=1;i<=a;++i){
| ^
rightangtri.cpp:11:13: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
11 | cout<<"*" * a;
| ~~~ ^ ~
| | |
| | int
| const char [2]