Console.WriteLine("请输入天数");
string intday = Console.ReadLine();
int day = Convert.ToInt32(intday);
int week = day / 7;
int lastday = day % 7;
Console.WriteLine("{0}是{1}周零{2}天",day,week,lastday );
Console.ReadKey();
Console.WriteLine("请输入天数");
string intday = Console.ReadLine();
int day = Convert.ToInt32(intday);
int week = day / 7;
int lastday = day % 7;
Console.WriteLine("{0}是{1}周零{2}天",day,week,lastday );
Console.ReadKey();