for (int b =1; b<11; b++){ System.out.println(); for (int a = 0; a < b; a++){ System.out.print("8"); уже все перепробовал