实现以下要求
static void Main(string[] args)
{
Console.WriteLine("请输入天数");
string tian=Console.ReadLine();
int ztian = Convert.ToInt32(tian);
int zhou = ztian / 7;
int ji = ztian % 7;
Console.WriteLine("这是第{0}周,第{1}天", zhou, ji);
Console.ReadKey();
}
实现以下要求
static void Main(string[] args)
{
Console.WriteLine("请输入天数");
string tian=Console.ReadLine();
int ztian = Convert.ToInt32(tian);
int zhou = ztian / 7;
int ji = ztian % 7;
Console.WriteLine("这是第{0}周,第{1}天", zhou, ji);
Console.ReadKey();
}