Wednesday
April 1, 2015

Homework Help: programming

Posted by rj on Tuesday, September 25, 2012 at 7:08pm.

Prompt the user to enter a number of seconds. Return to the user the hours, minutes and seconds.Example:

Enter seconds: 1000

1000 seconds = 0 hour, 16 minutes, 40 seconds

Hint: use the modulus operator.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

math - If Steven can mix 20 drinks in 5 minutes, Sue can mix 20 drinks in 10 ...
math - If Steven can mix 20 drinks in 5 minutes, Sue can mix 20 drinks in 10 ...
Math - 1 mintue 25 seconds converted into seconds. I know there are 60 minutes ...
Geomatics - After shooting the trailing edge of the Sun on 11 April 2008, the ...
precalc - Write a formula for converting a measure of degrees in degrees, ...
trigonometry - how to express radians to degrees, minutes, and seconds? how to ...
4th grade math - Subtracting a Fraction From 1 Joe Jumped robe for 3 minutes and...
precal - Write a formula for converting hours, starting with midnight as zero, ...
Physics - If the vertical component of velocity for a projectile is 7.3 meters/...
Physics - If the vertical component of velocity for a projectile is 7.3 meters/...

Members