diff --git a/src/Main.java b/src/Main.java index 4b93e162..8e348914 100644 --- a/src/Main.java +++ b/src/Main.java @@ -19,7 +19,7 @@ public static void main(String[] args) { System.out.println("Please input the height of the triangle (in inches)."); double height = input.nextDouble(); while (height <= 0) { - System.out.println("That's invalid. Please input the base of the triangle (in inches)."); + System.out.println("That's invalid. Please input the height of the triangle (in inches)."); base = input.nextDouble(); }