最新回答 / weixin_慕盖茨3053807
using System;using System.Collections.Generic;using System.Text;namespace Test{ class Program { static void Main(string[] args) { int a=8; int b=6; string test=a>b ? "a":"b"; Console.Wri...
2019-03-13
最新回答 / qq_精慕门2535300
using System;using System.Collections.Generic;using System.Text;namespace Test{ class Program { static void Main(string[] args) { for (int y = 1; y <= 7; y++) { for (int x = 1; x ...
2019-03-03
最赞回答 / 景淮Maple
在判定中做自减和自增,有一些区别,比如你写的while (x-- >= 1)会导致代码先执行一次判定循环,然后再自减。如果你想完成输出4 3 2 1 你需要改成while(--x>=1)这样就会先做自减然后再执行循环。<...图片...>
2019-02-24