package com.javarush.task.pro.task04.task0405; /* Незаполненный прямоугольник */ public class Solution { public static void main(String[] args) { //напишите тут ваш int c = 20; while(c>0) { System.out.print("Б"); c--; } System.out.println(); int b = 8; while(b>0) { int a = 20; while(a>0) { if(a==1 || a==20) System.out.print("Б"); else System.out.print(" "); a--; } System.out.println(); b--; } int d = 20; while(d>0) { System.out.print("Б"); d--; } } }