cant seem to get my array to go like this with my nested for loop, tried everything i can think of
this is as far as ive gotten
for (int i=0; i<=9; i++) {
for (int j=9-i ; j>=7-i; j--) {
if (j>=0)
m[i][j] = n++;
}
}```