Why It's wrong
package com.codegym.task.task04.task0437;
/*
Triangle of eights
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
for(int a=0; a<=10; a++){
for (int b=0; b<a; b++){
System.out.print("8");
}
System.out.println();
}
}
}