最新回答 / 紫色的秋
好像是對(duì)的,看看運(yùn)行報(bào)錯(cuò)的地方,可能是標(biāo)點(diǎn)的中文字符。<...code...>我的運(yùn)行成功了
2021-11-28
最新回答 / qq_慕尼黑3205876
for(int x=1;x<=100;x++){int sum=0;sum=sum+x;Console.WriteLine(sum);}
2021-11-14
最新回答 / weixin_慕虎1420592
? ? ? ?你這個(gè)IF括號(hào)里面的語(yǔ)法不對(duì),應(yīng)該這樣:? ??? ? ? ? ? ? int age = 4;//年齡? ? ? ? ? ? if (age < 6||age > 60)? ? ? ? ? ? ? Console.WriteLine("請(qǐng)坐愛心座!");? ? ? ? ? ? else? ? ? ? ? ? ? ? Console.WriteLine("請(qǐng)堅(jiān)持一下!");
2021-10-25
最新回答 / qq_精慕門9436011
using System;using System.Collections.Generic;using System.Text;namespace Test{? ? class Program? ? {? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? double salary = 6000.00;//基本工資? ? ? ? ? ? double prize = 3200.00;//獎(jiǎng)金? ? ? ? ? ? double tax = ...
2021-10-15
最贊回答 / 布小禪
x/=0.5等價(jià)于x = x/0.5,因?yàn)閤是2.所以經(jīng)過(guò)/0.5的操作后值為4,而需要輸出x-y=4,那么x=4,需要y=0
2021-08-16
最新回答 / 慕碼人2595013
?Console.Write(true ||false);//輸出True? ? ? ? ? ? Console.Write(true &&false);//輸出False? ? ? ? ? ? Console.Write(!false);//輸出True? ? ? ? ? ? Console.ReadLine();
2021-08-16