Just need a little input and help please!
This is my first time really working with Java and I am in a class that has us writing Java codes. Here is what I am stuck on in the assignment:
Add a code that calculates the hours, minutes, and seconds needed to download this file with a 56K analog modem. To do the calculations, assume that a 56K modem can transfer data at a rate of 5.2 kilobytes (KB) per second. Then, add the code for displaying the results.
I am having trouble figuring out how to write this part of the code. Can someone please help me??
Thanks in advance.
Re: Just need a little input and help please!
Can you write the needed formulas and/or equations needed to compute the results manually?
Some basics: 1 hour = 60 minutes and 1 minute = 60 seconds.
Given the seconds, you can compute the hours, minutes and seconds.