最赞回答 / Henry_pan
{ static void Main(string[] args) { double price = 4388;//手机的售价 double salary = 4978.67;//本月实发工资 if (salary>=price)//请在这里补充条件判断 { Console.WriteLine("这月工资够买手机!"); ...
2020-03-17
最新回答 / weixin_慕函数1480334
namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Console.WriteLine("Please enter the weight:"); double sum; int Weight = Convert.ToInt32(Console.ReadLine()); i...
2020-03-10
最赞回答 / qq_醉听风雨_0
using System;using System.Collections.Generic;using System.Text;namespace projGetMaxScore{ class Program { static void Main(string[] args) { string[,] chengji=new string[,]{ {"吴松","89"},{"钱东宇","90"}, ...
2020-03-05
最赞回答 / 鱼想吃猫
对于(&&,||),运算的对象是逻辑值,也就是True/False &&相当与中文的并且,||相当于中文的或者 。(叫做逻辑运算符又叫短路运算符) 对于(&,|),运算的对象是位,也就是1/0,叫做位运算符
2020-03-05
最赞回答 / qq_慕斯8036334
for(int i=0;i<grade.Lenght;i++):→LengthConsole.Write("分数最高的是{0},分数是{1}" ,y,x);:→建议这么写 string y; :→定义完字符串要给他量→string y=name[0];
2020-03-03