标签:
static void Main(string[] args)
{
int n = 0;
while (n<100)
{
n++;
if (n %2==0)
{
Console.Write(n+"是偶数");
}
else
{
Console.Write("\n\t"+n+"是奇数");
}
Console.Read();
}
}
标签:
原文地址:http://www.cnblogs.com/dlexia/p/4384201.html