for (int i = 0; i < 9; i++) { System.out.print("8 "); } for (int j = 0; j < 10; j++) { System.out.println("8"); } } }