我這段程序錯(cuò)在哪?
??????????? for (int x = 1; x < 10; x++)
??????????? {
??????????????? if(x==3||x==8)
??????????????????? continue;//請(qǐng)?zhí)砑哟a,過(guò)濾3和8
??????????????? Console.Write(x);
??????????? for (int x = 1; x < 10; x++)
??????????? {
??????????????? if(x==3||x==8)
??????????????????? continue;//請(qǐng)?zhí)砑哟a,過(guò)濾3和8
??????????????? Console.Write(x);
2016-10-30
舉報(bào)
2016-10-30
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
? ? class Program
? ? {
? ? ? ? static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ? for (int x = 1; x < 10; x++)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? if (x == 3 || x == 8)
? ? ? ? ? ? ? ? ? ? continue;//請(qǐng)?zhí)砑哟a,過(guò)濾3和8
? ? ? ? ? ? ? ? Console.Write(x);
? ? ? ? ? ? }
? ? ? ? }
? ? }
}