Question: [ A clock time in a 2 4 - hour notation is represented as hours: 0 0 : 0 0 to 2 3 : 5
A clock time in a hour notation is represented as hours: : to : Write a program In C that prompts a user to enter two times, adds them up and displays the results. Your program should define and use the following functions:
a get Time prompts the user to enter a time in hour notation and returns it
b addTime takes times in hour notation, adds them up and returns the results.
c displayTime takes a time in hour notation and displays it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
