From af94cd0bb7b8caf53ebd4ab0c470c6c145c26d7c Mon Sep 17 00:00:00 2001 From: mo Date: Sat, 13 Jul 2019 16:14:08 -0600 Subject: improve console output --- src/Q6/WeekDay.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Q6') diff --git a/src/Q6/WeekDay.java b/src/Q6/WeekDay.java index c1fb573..6ad3cbf 100644 --- a/src/Q6/WeekDay.java +++ b/src/Q6/WeekDay.java @@ -41,6 +41,7 @@ public class WeekDay { public static void main(String[] args) { Scanner in = new Scanner(System.in); + System.out.println("--- Question 6 ---"); System.out.println("Enter year:"); int year = in.nextInt(); @@ -50,6 +51,9 @@ public class WeekDay { System.out.println("Enter day:"); int day = in.nextInt(); + System.out.println(); + System.out.println("Today is:"); System.out.println(new WeekDay().getWeekDay(day, month, year)); + System.out.println(); } } -- cgit v1.2.3