Console application made to calculate time but scaled faster. I don't see any errors in Visual Studio, yet I don't recieve any console output. Could someone explain what's causing this to happen?
C#:
for (int a = 0; a < 1; a--)
{
int day = 0;
int year = 2875;
int month = 0;
if (day > 30)
{
day = 0;
if (month > 12)
{
year++;
month = 0;
}
}
else
{
day++;
System.Threading.Thread.Sleep(840000);
}
Console.WriteLine(day);
}