Hello. I'm having a bit of difficulty with my program. Basically, you enter hours, minutes and seconds and it will calculate the equivalent amount of seconds. My question is, the output says, "Seconds: xxxx"
I want it to say: x hours, y minutes and z seconds = xxxx seconds.
Hours/minutes/seconds dont really have to be of type double, since in the user would enter something like:
5 hours 25 minutes and 15 seconds
you can have a long int to take up the output: longint output;