public class Solution {
public static void main(String[] args) {
int n = 0;
while (n < 1)
{
int m = 0;
while (m < 20)
{ System.out.print("Б");
m++;
}
System.out.println();
n++;
}
int c = 0;
while (c < 1)
{
int g = 0;
while (g < 7)
{ System.out.println("Б Б");
g++;
}
System.out.println();
c++;
}
int x = 0;
while (x < 1)
{
int z = 0;
while (z < 20)
{ System.out.print("Б");
z++;
}
System.out.println();
x++;
}
}
}
package com.javarush.task.pro.task04.task0405;
/*
Незаполненный прямоугольник
*/
public class Solution {
public static void main(String[] args) {
int n = 0;
while (n < 1)
{
int m = 0;
while (m < 20)
{ System.out.print("Б");
m++;
}
System.out.println();
n++;
}
int c = 0;
while (c < 1)
{
int g = 0;
while (g < 7)
{ System.out.println("Б Б");
g++;
}
System.out.println();
c++;
}
int x = 0;
while (x < 1)
{
int z = 0;
while (z < 20)
{ System.out.print("Б");
z++;
}
System.out.println();
x++;
}
}
}