level 3
帮你修改了一下
using System;
class Program
{
static void Main(string[] args)
{
int[] day = new int[] { 31, 28, 31, 30, 30, 30, 30, 30, 30, 30, 31, 30 };
for (int i = 0; i < 12; i++)
{
Console.WriteLine((i + 1) + "月有" + day[i] + "天");
}
Console.ReadLine();
}
}
2025年02月02日 06点02分



