最贊回答 / 慕桂英6068768
需要用 new 分配內(nèi)存string[] names = new string[5]{"關(guān)羽","張飛","趙云","馬超","黃忠"};
2020-03-29
最新回答 / weixin_慕虎1420592
?x++; 在if的執(zhí)行語句里,當(dāng)x的值為偶數(shù)時,if語句不執(zhí)行,x的值一直不加1,while (x <= 30)一直執(zhí)行,程序進(jìn)入死循環(huán)。
2020-03-27
最贊回答 / Henry_pan
?{? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? double price = 4388;//手機(jī)的售價? ? ? ? ? ? double salary = 4978.67;//本月實(shí)發(fā)工資? ? ? ? ? ? if (salary>=price)//請在這里補(bǔ)充條件判斷? ? ? ? ? ?{?? ? ? ? ? ? ? ?Console.WriteLine("這月工資夠買手機(jī)!");? ? ? ? ? ? ? ?? ?...
2020-03-17
最新回答 / weixin_慕函數(shù)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