26th Jun 2020, 5:27 PM
Fight Yoyo
Fight Yoyo - avatar
3 Answers
+ 7
just replace ur comma by semicolon in for loop as it corrected by Addy
26th Jun 2020, 5:34 PM
ÃKR
ÃKR - avatar
26th Jun 2020, 5:30 PM
♡Addy♡
♡Addy♡ - avatar
0
Your second (inner) "for" loop is not correct. Replace the condition "j <= 1" with "j <= i": for (j = 1; j <= i; j++) {...}
26th Jun 2020, 9:31 PM
Vasile Eftodii
Vasile Eftodii - avatar