@@ -0,0 +1,761 @@
+class App%7B%0A%09public static  void main(String... args) %7B%0A%09%09calcTime(Integer.parseInt(args%5B0%5D));%0A%09%09// calc(Integer.parseInt(args%5B0%5D), args%5B1%5D, Integer.parseInt(args%5B2%5D));%0A%09%7D%0A%09private static void calc(int m, String ops, int mm)%7B%0A%09%09if (ops.equals(%22*%22)) %7B%0A%09%09%09System.err.println(m * mm);%0A%09%09%7Delse if (ops.equals(%22/%22)) %7B%0A%09%09%09System.err.println(m / mm);%0A%09%09%7Delse if (ops.equals(%22%25%22)) %7B%0A%09%09%09System.err.println(m %25 mm);%0A%09%09%7D%0A%0A%09%09%0A%09%7D%0A%09private static void calcTime(int $sumOfSeconds)%7B%0A%09%09try%7B%0A%09%09int $houers=%09( $sumOfSeconds%09%09   ) / 3600;%0A%09%09int $minutes=%09( $sumOfSeconds %25 (3600)) / 60 ;%0A%09%09int $secounds=%09( $sumOfSeconds %25 (3600)  - $minutes * 60) ;%0A%09%09System.err.println($houers+%22:%22+$minutes+%22:%22+$secounds);%0A%09%7Dcatch(ArithmeticException ex)%7BSystem.err.println(ex.getMessage());%7D%0A%09%7D%0A%7D

Write a java program that inputs an integer that represents a length of time in seconds. The program should then output the number of hours, minutes, and seconds that corresponds to that number of seconds. For example, if the user inputs 50391 total seconds then the program should output 13 hours, 59 minutes, and 51 seconds. (Note: Don't use loops or if condition)