for (int j=11;j>0;j--){
int trel=11-j;
for(int h=0;h<trel;h++)
System.out.print("8");
System.out.println("");
}
}}
package com.javarush.task.pro.task04.task0413;
/*
Рисуем треугольник
*/
public class Solution {
public static void main(String[] args) {
for (int j=11;j>0;j--){
int trel=11-j;
for(int h=0;h<trel;h++)
System.out.print("8");
System.out.println("");
}}}