Chapter 6: Problem 25
Write a function that takes the time as three integer arguments (hours, minutes and seconds) and returns the number of seconds since the last time the clock “struck 12.” Use this function to calculate the amount of time in seconds between two times, both of which are within one 12-hour cycle of the clock.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.