while (days > 365)
{
if (IsLeapYear(year))
{
if (days > 366)
{
days -= 366;
year += 1;
}
//else??
}
else
{
days -= 365;
year += 1;
}
}
What's in your firmware??
while (days > 365)
{
if (IsLeapYear(year))
{
if (days > 366)
{
days -= 366;
year += 1;
}
//else??
}
else
{
days -= 365;
year += 1;
}
}
Introduction I recently inherited a few dozen family videos on VHS and VHS-C going back to the early 1980's. Along with this haul came a...