Вроде всё перепроверил, но никак не пойму, в чём заключается проблема.
package com.javarush.task.pro.task04.task0425;
/*
Диггер (1)
*/
public class Solution {
public static String bug = "🐛";
public static String robot = "🤖";
public static String land = "🌍";
public static String death = "💀";
public static String hole = " ";
public static void main(String[] args) {
//напишите тут ваш код
for(int a = 1; a <= 10; a++){
for(int b = 1; b <= 10; b++){
if(b == 4 && a != 9){
System.out.print(hole);
}
else if (a == 9 && b == 4){
System.out.print(robot);
}
else if (a == 10 ){
System.out.print(bug);
}
else
System.out.print(land);
}
System.out.println();
}
}
}