@@ -0,0 +1,689 @@
+//https://www.hackerrank.com/challenges/time-conversion%0Aimport java.io.*;%0A%0Apublic class Solution %7B%0A  public static void main(String%5B%5D args) throws IOException %7B%0A    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A    %0A    //Get time%0A    String time = br.readLine();%0A    %0A    //Get hour and adjust based on AM/PM%0A    byte hour = Byte.parseByte(time.substring(0, 2));%0A    %0A    //If noon or midnight%0A    if(hour == 12)%7B%0A      hour = 0;%0A    %7D%0A    %0A    //Add 12 hours to afternoon%0A    if(%22P%22.equals(time.substring(8, 9)))%7B%0A      hour += 12;%0A    %7D%0A    %0A    //Print time in military format%0A    System.out.print(String.format(%22%2502d%22, hour) + time.substring(2, 8));%0A  %7D%0A%7D%0A

Create time-conversion.java