Could you help , why in the last row number of 8 is only 9 ?? Cant figure it out ;\
package com.codegym.task.task04.task0437;
/*
Triangle of eights
*/
public class Solution {
public static void main(String[] args) throws Exception {
for(int i=1;i<10;i++){
System.out.println(8);
for(int j=1; j<i; j++){
System.out.print(8);
}
}
}
}