Problem rightangtri
User Siddharth123
Submission Time 2025-08-30 23:33:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp:17:45: error: missing terminating " character
17 | for(int j = 1; j <= i; j++) cout << "*
| ^~
rightangtri.cpp:18:3: error: missing terminating " character
18 | ";
| ^~
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:17:42: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
17 | for(int j = 1; j <= i; j++) cout << "*
| ~~~~ ^~
| |
| basic_ostream<[...]>
......
20 | cout << endl;
| ~~~~
| |
| basic_ostream<[...]>
rightangtri.cpp:17:42: note: candidate: ‘operator<<