Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

in C Your task is to write a program that reads in dive times in the form of hh:

ID: 3884309 • Letter: I

Question

in C

Your task is to write a program that reads in dive times in the form of hh:mm (hours and minutes separated by a colon) and calculates the total dive time (i.e. the sum of all the log times), the average dive time and selects the longest dive time. The calculated outputs are all output in the form of hhh:mm or hh:mm (i.e. hours and minutes 2 Implementation Your implementation needs to be in a single C program called logtime.c Keep in mind that coding style will affect your grade. Your code should be well-organized, well- commented, and designed in a modular fashion. In particular, you should design reusable functions and structures, and minimize code duplication. You should always check for errors. For example, your program should always check to see if the input is in the proper format. Your code should compile correctly (no warnings and errors) with the -Wall and either the -g or -O flags. For example $ gcc -Wall -g -o logtime logtime.c should compile your code to a debug-able executable named logtime without producing any warn- ings or error messages. (Note that -O and -o are different flags.)

Explanation / Answer

The question here decribes that the problem should be solved specifically in C. C is a programming language without the concept of OOpS.
There are many possibilities for the above question. May be the question is asking about the experts view on the language C or the question is stating that the un-mentioned problem should be in C.
But there is a very high proba blity
That this question is uncomplete or the person who has posted the question was unable to post the question completely.

Thankyou. If you have any question please post the question we can answer it.