為什么不可以
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
? ? class Program
? ? {
? ? ? ? static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ? int y = 5;
? ? ? ? ? ? while (y<=5&&y>=1)//請(qǐng)輸入
? ? ? ? ? ? {
? ? ? ? ? ? ? ? Console.Write(y+" ");
? ? ? ? ? ? ? ? y--;//請(qǐng)輸入
? ? ? ? ? ? }
? ? ? ? }
? ? }
}
2016-07-02
循環(huán)結(jié)束后加?Console.Read();
2016-07-02
原來(lái)是我網(wǎng)炸了。。。。