最新回答 / weixin_慕虎1420592
x++; 在if的执行语句里,当x的值为偶数时,if语句不执行,x的值一直不加1,while (x <= 30)一直执行,程序进入死循环。
2020-03-27
最赞回答 / 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