Simply change your first for loop to decrement instead of increment
for (int i = lines; i > 0; i--) {
instead of
for (int i = 1; i <= lines; i++){
1
solved creating number patterns in java(continued) [closed]
Simply change your first for loop to decrement instead of increment
for (int i = lines; i > 0; i--) {
instead of
for (int i = 1; i <= lines; i++){
1
solved creating number patterns in java(continued) [closed]