Решение выводит правильное,но по 3м условиям не пускает.В чем ошибка?
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 i = 0;i < 10;i++){
System.out.println();
for (int a = 0;a < 10;a++){
if (a == 3 && i < 8){
System.out.print(hole);}
else if (a == 3 && i == 8)
System.out.print(robot);
else if (i == 9)
System.out.print(bug);
else
System.out.print(land);}}
}
}