为什么只输出了1 2
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int x = 1;
while(x < 10)
{
if(x==3||x==8)
continue;//请添加代码,过滤3和8
Console.Write(x);
x++;
}
}
}
}
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int x = 1;
while(x < 10)
{
if(x==3||x==8)
continue;//请添加代码,过滤3和8
Console.Write(x);
x++;
}
}
}
}
2018-05-18
举报