Design and code a program in c that converts time in seconds to hours, minutes and seconds and display the results.  Implement using pointers and functions. You should have at least the following functions.


    •   Reading time in seconds.


•   Converting seconds to hrs, mins, secs.




•   Displaying results hrs, mins, secs.

Recommended Answers

All 2 Replies

Member Avatar for MonsieurPointer

What have you done so far?

Design and code a program in c that converts time in seconds to hours, minutes and seconds and display the results.

I'm done, but I don't have your teacher's email so that I can turn it in for a grade. Could you post that, please?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.