Calculating Exam Start Time and Student Arrival Time

After reading the input data, we can now start writing the logic for calculating the result. Let's first calculate the start time of the exam in minutes for easier and more accurate comparison.

Let's also calculate the student arrival time using the same logic.

What remains is to calculate the difference between the two times, in order to determine when and what time compared to the exam time the student arrived at.

results matching ""

    No results matching ""