int second = 107653; int day = second / (3600 * 24); int hour= second % (3600 * 24) /3600; int min = second % 3600 / 60; int sec = second % 60; Console.WriteLine("107653 秒是 {0}天{1}小时{2}分钟{3}秒", day, hour, min, sec); Console.ReadLine();
int second = 107653; int day = second / (3600 * 24); int hour= second % (3600 * 24) /3600; int min = second % 3600 / 60; int sec = second % 60; Console.WriteLine("107653 秒是 {0}天{1}小时{2}分钟{3}秒", day, hour, min, sec); Console.ReadLine();
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。