int a = 0; while (a < 10) { System.out.print("S"); a++; int b = 0; while (b < 10) //{ System.out.println(""); b++;//напишите тут ваш код } }