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