Tell us what’s happening:
I’m just not sure what to do. Could somebody give more instruction on what we’re supposed to do for this program? So I give a start time with am or pm and then a “duration” time. So I’m making something of a timer?
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36.
Not quite a timer, necessarily. It’s more of a calculator. You’ll be given two arguments: a timestamp (like “3:00 PM”) and a duration (like “2:32”). Your code should tell me what time it is after the duration has passed, starting from the timestamp.
So, as an example: If I have a timestamp of "3:00 PM" and a duration of "1:00", your code should tell me it would be "4:00 PM".