题解 | #牛牛的一周#
牛牛的一周
https://www.nowcoder.com/practice/5394d88a8fa042d99e3b9be34e17ad71
public class Program{ public static void Main() { int num = System.Convert.ToInt32(System.Console.ReadLine()); switch(num) { case 1: System.Console.WriteLine("Monday"); break; case 2: System.Console.WriteLine("Tuesday"); break; case 3: System.Console.WriteLine("Wednesday"); break; case 4: System.Console.WriteLine("Thursday"); break; case 5: System.Console.WriteLine("Friday"); break; case 6: System.Console.WriteLine("Saturday"); break; case 7: System.Console.WriteLine("Sunday"); break; default: break; } } }