我没注意,改成这样,居然也运行通过。????
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
int x = 1;
do
{
x++;
Console.Write(x+" ");
}
while(x>=2&&x<=4);
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
int x = 1;
do
{
x++;
Console.Write(x+" ");
}
while(x>=2&&x<=4);
}
}
}
2020-02-03
举报