где int with = 1
что не так
package com.javarush.task.pro.task04.task0405;
/*
Незаполненный прямоугольник
*/
public class Solution {
public static void main(String[] args) {
//напишите тут ваш код
int n = 1;
while (n <= 10)
int width = 1;
while (g <= 20)
if (n == 1 || n == 10)
{ System.out.print('Б'); }
else if (width == 1 || width == 20)
{ System.out.print('Б'); }
else { System.out.print(" ");
}
n++;
System.out.println()
width++;
}
}