Help with java assignment please!
I am writing a code to show how much time it took to finish a race in military time. For example: start time is 1445 and end time is 1730 which means that person took 2 hours and 51 minutes. I need to create a method that returns me the hour portion of the elapsed time, which is 2. I cannot do this with any "if" statements in the code. I just cant seem to understand where to go from here or how to format the arithmetic inside the method.
public void returnHour() { }