/*
Filled rectangle
*/
public class Solution {
public static void main(String[] args) {
int a = 0;
while (a < 5) {
int b = 0;
while (b < 10) {
System.out.print('Q');
b++;
}
System.out.printIn();
a++;
}
}
}
package en.codegym.task.pro.task04.task0404;
/*
Filled rectangle
*/
public class Solution {
public static void main(String[] args) {
int a = 0;
while (a < 5) {
int b = 0;
while (b < 10) {
System.out.print('Q');
b++;
}
System.out.printIn();
a++;
}
}
}