public static void main(String args[]){

Scanner sc = new Scanner();

int x = sc.nextInt();

System.out.println("请输入时间");

int xiaohsi,fen,miao;

xiaoshi = x /3600;

fen = x % 3600 / 60;

miao = x  % 60;

System.out.println("xiaoshi"+xiaoshi+"fen"+fen+"miao"+miao);

}

05-11 13:50