Import java.util.Scanner; public class Clock { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("Vvedite k "); int k = in.nextInt(); int h = k / 3600; int m = (k - h * 3600) / 60; System.out.println("Proshlo " + h + " chasov : " + m + " minut."); } }
public class Clock {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Vvedite k ");
int k = in.nextInt();
int h = k / 3600;
int m = (k - h * 3600) / 60;
System.out.println("Proshlo " + h + " chasov : " + m + " minut."); }
}