diff --git a/.idea/misc.xml b/.idea/misc.xml
index 6e86672..172df7b 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,5 +1,6 @@
+
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Java-Assignment-002.iml b/Java-Assignment-002.iml
index b46c0dd..e1006ff 100644
--- a/Java-Assignment-002.iml
+++ b/Java-Assignment-002.iml
@@ -5,6 +5,7 @@
+
\ No newline at end of file
diff --git a/src/Time.java b/src/Time.java
new file mode 100644
index 0000000..98aeab6
--- /dev/null
+++ b/src/Time.java
@@ -0,0 +1,42 @@
+public class Time {
+
+ public static void main(String[] args) {
+
+ int hour;
+ int minute;
+ int second;
+ int pastMidnight;
+ int secondsInDay;
+ secondsInDay = 24 * 60 * 60;
+ hour = 16;
+ minute = 48;
+ second = 30;
+ double seconds = second;
+ pastMidnight = hour * 60 * 60 + second;
+ int oldHour;
+ int oldMinute;
+ int oldSecond;
+ oldSecond = second;
+ oldHour = hour;
+ oldMinute = minute;
+ hour = 18;
+ minute = 17;
+ second = 12;
+ System.out.print("The current time is ");
+ System.out.print(hour);
+ System.out.print(":");
+ System.out.println(minute);
+ System.out.print("Number of seconds since midnight is ");
+ System.out.println(pastMidnight);
+ System.out.print("Number of seconds remaining until midnight is ");
+ System.out.println(secondsInDay - pastMidnight);
+ System.out.print("Percent of day completed ");
+ System.out.println((pastMidnight * 100.0) / secondsInDay);
+ System.out.println("Total time working on this ");
+ System.out.print(hour - oldHour);
+ System.out.print(":");
+ System.out.print(minute + 60 - oldMinute);
+ System.out.print(":");
+ System.out.println(second + 60 - oldSecond);
+ }
+}
\ No newline at end of file