Skip to main content

New answers tagged

0 votes

Why does the variable j in the code is taking the value at 15th iteration?

Strongly suggest you don't do it this way. The problem is your second loop you have bad conditions of j<4 and you were setting j=0 instead of matching your first loop where you used properly j<3 ...
UpAndAdam's user avatar
  • 1,516

Top 50 recent answers are included