#作业要求
输入天数,显示几周零几天
#程序
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("请输入天数");
string strDay = Console.ReadLine();
int day = Convert.ToInt32(strDay);
int week = day / 7;
int a = day - week * 7;
Console.WriteLine("{0}天是{1}周零{2}天", day, week, a);
Console.ReadKey();
}
}
}