int b=a/7; // int c = a - b * 7; int c = a % 7; Console.WriteLine("{0}周{1}天", b,c); Console.ReadKey();