Utilize a function to covert hours-minutes-seconds to seconds.
Prompt the user to enter input in the format described on my example
(format 12:59:59).
Display on the screen the results of the conversion.
please can someone show me this example program I need to do thanks
_______________________________________________________________________________
This is how the program should play out;
Enter time (format 12:59:59)
(0:0:0 to quit): 12:45:45 <---what you type
Seconds = 45945 <---Result
Enter time (format 12:59:59) (with this format)
(0:0:0 to quit): 0:0:0 <--- what I have to do in order to exit the program