From 04063b778ac0fca163953ffd0d57459b6051aa90 Mon Sep 17 00:00:00 2001 From: Konrad Roeder Date: Fri, 25 Apr 2014 00:00:46 -0700 Subject: [PATCH] Update Hourglass.java Delete extra lines on the bottom. --- Hourglass.java | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/Hourglass.java b/Hourglass.java index e5feeab..8adbd4a 100644 --- a/Hourglass.java +++ b/Hourglass.java @@ -61,44 +61,4 @@ public static void drawBottom() { } } } -eroeder -Commit new file - } - - // Produces the top half of the hourglass figure - public static void drawTop() { - for (int line = 1; line <= SUB_SIZE; line++) { - for (int i = 1; i <= line; i++) { - System.out.print(" "); - } - System.out.print("\\"); - for (int i = 1; i <= 2*(SUB_SIZE +1 - line); i++) { - System.out.print(":"); - } - System.out.println("/"); - } - } - - // Produces the belt section of the hour glass. - public static void drawMiddle() { - for (int i = 1; i <= SUB_SIZE +1; i++) { - System.out.print(" "); - } - System.out.println("||"); - } - - // Produces the bottom half of the hourglass figure. - public static void drawBottom() { - for (int line = 1; line <= SUB_SIZE; line++) { - for (int i = 1; i <= SUB_SIZE + 1 -line; i++) { - System.out.print(" "); - } - System.out.print("/"); - for (int i = 1; i <= 2 * line; i++) { - System.out.print(":"); - } - System.out.println("\\"); - } - } -}