import java.util.Scanner;
class Main {
public static void main (String[] args) {
Scanner teclado = new Scanner(System.in);
int horas, seg;
System.out.println("Digite o número de segundos multiplo de 60");
horas = teclado.nextInt();
horas = seg ? 60;
System.out.println(seg + " segundos são " + horas + " horas.");
teclado.close();
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: