ahmed sami

ahmed sami

  • NA
  • 64
  • 198k

Write a function that takes the time as three integer arguments (hours, minutes and seconds) and ret...

Nov 15 2012 11:23 AM

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.


Answers (2)