Problem rightangtri
User tacticalnerd
Submission Time 2024-04-20 09:18:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:7:16: error: expected ‘;’ before ‘<’ token
7 | for (int i=1,i<x+1,i++) {
| ^
| ;
rightangtri.cpp:7:16: error: expected primary-expression before ‘<’ token
rightangtri.cpp:7:24: error: expected ‘;’ before ‘)’ token
7 | for (int i=1,i<x+1,i++) {
| ^
| ;
rightangtri.cpp:8:17: error: expected ‘;’ before ‘<’ token
8 | for (int j=0,j<i,j++){
| ^
| ;
rightangtri.cpp:8:17: error: expected primary-expression before ‘<’ token
rightangtri.cpp:8:23: error: expected ‘;’ before ‘)’ token
8 | for (int j=0,j<i,j++){
| ^
| ;
rightangtri.cpp:10:14: error: expected ‘;’ before ‘}’ token
10 | cout <<"/n"
| ^