最新回答 / qq_裂_0
using System;using System.Collections.Generic;using System.Text;namespace Test{ class Program { static void Main(string[] args) { double money = 60000.00;//存款金额 if (money >= 10000)//请在这里补充多重条件判断 { ...
2017-10-08
最赞回答 / 牛奶咖啡16
哦不好意思刚刚才发现有相似的提问并且我也在其中找到了解决问题的答案:++x先运行即 x+1=2;随后后面x*x的变量x也变为了2,所以 2*2>3是true
2017-10-07
int sscore=0; string sname=""; int[] score = new int[8]{89,90,98,56,60,91,93,85};
string[] name= new string[8]{"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昆","关欣"};
for(int x=0;x<8;x++ ){if(sscore<score[x]) {sscore=score[x];sname=name[x];} }
Console.Write("分数最高的是{0},分数是{1}",sname,sscore);
string[] name= new string[8]{"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昆","关欣"};
for(int x=0;x<8;x++ ){if(sscore<score[x]) {sscore=score[x];sname=name[x];} }
Console.Write("分数最高的是{0},分数是{1}",sname,sscore);