New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Not sure what your * pattern program is, but the variable of the nested for loop may be dependant to the variable of the main for loop though initialization (j = i), condition (j < i) or increment (j += i) for example.