using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bt_64
{
class Program
{
static void Main(string[] args)
{
int a, b, c, n;
do
{
Console.Write("nhap n="); n = int.Parse(Console.ReadLine());
for (a = 0; a <= 24; a++)
{
for (b = 0; b < 60; b++)
{
for (c = 0; c < 60; c++)
{
if (a * 3600 + b * 60 + c == n)
{
Console.Write(a + ":" + b + ":" + c); break;
}
}
}
}
} while (!(n ==0));
Console.ReadKey();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bt_64
{
class Program
{
static void Main(string[] args)
{
int a, b, c, n;
do
{
Console.Write("nhap n="); n = int.Parse(Console.ReadLine());
for (a = 0; a <= 24; a++)
{
for (b = 0; b < 60; b++)
{
for (c = 0; c < 60; c++)
{
if (a * 3600 + b * 60 + c == n)
{
Console.Write(a + ":" + b + ":" + c); break;
}
}
}
}
} while (!(n ==0));
Console.ReadKey();
}
}
}