I am only able to print upper half of the hourglass. Please help with the ower half.
public static void printHourglass(int size, char symbol) { int count = 0; int count2 = 0; boolean lower = false; for(int lines = 0; lines < size; lines++) { //upper half for(int spaces = 0; spaces < lines; spaces++) { if(lower == false) System.out.print(" "); else break; } count = 0; for(int j = lines; j <= size - (lines + 1); j++) { count++; System.out.print(symbol); } for(int spaces = 0; spaces < lines;spaces++) { if(lower == false) System.out.print(" "); else break; } System.out.println(""); } }