public class Test2
{
public static void main(String[] args) throws IOException {
Scanner sss = new Scanner(System.in);
System.out.print("请输入秒数::");
int mun ,second,minute,hour,day,n;
mun = sss.nextInt();
System.out.print("键盘输入"+mun+".......打印:");
if(mun >0);
if(3601>mun && mun>=3600) //判断小时
{
hour = mun/3600;
mun = mun -hour*3600;
System.out.print(hour+"时间");
}
if(3600>mun && mun>=60) //判断分钟数
{
minute = mun/60;
mun = mun -minute*60;
System.out.print(minute+"分钟");
}