Namespace ConsoleApplication11
{
Class Program
{
static void Main (string[] args)
{
int m1 = to, M =-, M2 = to, M3 =, M4 = To, M5 = +, M6 =-, M7 = to, M8 = +, M9 =, M10 = 31, M11 = +;
Console.Write ("Please enter the Year:");
int n = Int. Parse (Console.ReadLine ());
Console.Write ("Please enter the month:");
int y = Int. Parse (Console.ReadLine ());
Console.Write ("Please enter a few days:");
int r = Int. Parse (Console.ReadLine ());
if ((n >= 1759 && n <= 9999) && (y >= 1 && y <=) && (r >= 1 && R <= 31))
{
Console.Write ("This is the Year" + (R) + "Day");
}
if (y = = 2&&r<=28)
{
Console.WriteLine ("This is the Year" + (M1 + R) + "Day");
if (y==3&&r<=31)
{
Console.WriteLine ("This is the Year" + (M1 + M + R) + "Day");
}
if (y==4&&r<=30)
{
Console.WriteLine ("This is the Year" + (M1 + M + m2 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + m4 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + M6 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + M6 + M7 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + M6 + M7 + m8 + R) + "Day");
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + M6 + M7 + m8 + M9 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + M6 + M7 + m8 + M9 + M10 + R) + "Day");
}
if (R > 0 && r <= 31)
{
Console.WriteLine ("This is the year first" + (M1 + M + m2 + m3 + M4 + M5 + M6 + M7 + m8 + M9 + M10 + M11 + R) + "Day");
}
}
Else
{
}
Console.ReadLine ();
}
}
}
}
This is the number of days this year