Programlamada takıldığın yerlerde her zaman Stackoverflow ve benzeri sitelerde araştırma yapmanı tavsiye ederim.
/* cooper34 */
public class Main
{
public static void main(String[] args) {
long input = 10000;
long hours = (input - input%3600)/3600;
long minutes = (input%3600 - input%3600%60)/60;
long seconds = input%3600%60;
System.out.println("Hours: " + hours + " Minutes: " + minutes + " Seconds: " + seconds+" "+hours+":"+minutes+":"+seconds);
}
}
Girdiyi kullanıcı yazacak.