Where did the 725 come from?
Where did the 5 come from?
What are the equations to compute those numbers?
Type: Posts; User: Norm
Where did the 725 come from?
Where did the 5 come from?
What are the equations to compute those numbers?
Your steps are not quite complete.
What is the "remaining number"? and What is the "rest"?
You need formulas to compute those values.
That looks right.
how did you do it? What were the steps you took to compute those values?
Write down the steps you used one by one.
That will be a guide for how to write the formulas for your...
How would you convert 7925 seconds to hours, minutes and seconds?
Can you do that on a piece of paper?
This problem is pure arithmetic, very little programming required.
We'll start with two formulas:
How do you get the total number of seconds from millisecs?
How do you get the number of hours from...
Are the answers correct? Have you worked it out by hand to know what the correct answers are?
205 seconds looks like too many.
You need to take a piece of paper and pencil and do all the...
Also you need to show your input.
For easier testing, change the input statement by hardcoding a value. For example:
milisec = 12345; //keyboard.nextInt();
When you get your formulas working...