int day;
Console.WriteLine("Enter a Day Number");
day = Convert.ToInt32(Console.ReadLine());
switch(day)
{
case 1 :
Console.WriteLine("Monday");
break;
case 2 :
Console.WriteLine("Thuesday");
break;
case 3 :
Console.WriteLine("Wednesday");
break;
case 4 :
Console.WriteLine("Thursday");
break;
case 5 :
Console.WriteLine("Friday");
break;
case 6 :
Console.WriteLine("Saturday");
break;
case 7 :
Console.WriteLine("Sunday");
break;
default :
Console.WriteLine("This is not a valid number.");
break;
}
Console.ReadLine();