- 1
How to solve Time Converter in Java?
I am not able to solve the Time Converter in java. If anyone knows then help me please.
2 Respostas
0
import java.io.*;
import java.util.*;
class Conversion {
static void conversion(float hours)
{
float minutes, seconds;
minutes = hours * 60;
seconds = hours * 3600;
Regards,
Jimmy
- 2
You need only one line of code. It starts with:
System.out.println(......
And I think, you will be able to multiply the number of seconds for a given number of days?