fork download
  1. class task0404 {
  2. public static void main(String[] args) {
  3. int n = 0;
  4.  
  5. while (n < 5) {
  6. int m = 0;
  7.  
  8.  
  9. while (m < 9) {
  10. System.out.print("Q");
  11. m++;
  12. }
  13.  
  14.  
  15. System.out.println("Q");
  16. n++;
  17. }//напишите тут ваш код
  18. }
  19. }
  20.  
Success #stdin #stdout 0.09s 54620KB
stdin
Standard input is empty
stdout
QQQQQQQQQQ
QQQQQQQQQQ
QQQQQQQQQQ
QQQQQQQQQQ
QQQQQQQQQQ