最新回答 / 一筐
static void Main(string[] args) { //分号记得改为逗号 string[] name = new string[] { "吴松", "钱东宇", "伏晨", "陈陆", "周蕊", "林日鹏", "何昆","关欣"}; //数组!!!记得加[ ]方括号!!! int []num = new int[]{89,90,98,56,60,91,93,85}; ...
2016-11-06
最新回答 / 於喇喇
如果是文字呢if(a=分)//当a=分的时候执行第一分支{Console。write(分)}else//否则执行第二分支{Console。write(不是分)}
2016-11-02
最新回答 / 孟德尔的怪豆
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) ...
2016-10-30
最新回答 / 慕粉4364288
因为x的初始值是1,while条件里面是>2才能执行循环,但是do....while循环是无条件执行一次循环的,所以无条件执行一次do里面的语句,x++后的值是2,所以输出的值是2.
2016-10-30