那位大佬幫忙看一下這個(gè)是哪個(gè)地方錯(cuò)了啊
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
? ? class Program
? ? {
? ? ? ? static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ? double price = 4388;//手機(jī)的售價(jià)
? ? ? ? ? ? double salary = 4978.67;//本月實(shí)發(fā)工資
? ? ? ? ? ? if(salary>price) //請(qǐng)?jiān)谶@里補(bǔ)充條件判斷
? ? ? ? ? ?{
? ? ? ? ? ? ?Console.Writeline("這月工資夠買(mǎi)手機(jī)!");
? ? ? ? ? ?}
? ? ? ? ? ?else?
? ? ? ? ? ?{
? ? ? ? ? ? ? ?Console.Writeline("這月工資不夠買(mǎi)手機(jī)!");
? ? ? ? ? ?}
? ? ? ? ?
? ? ? ? ?
? ? ? ? ?
? ? ? ? }
? ? ? ?
? ? }
}
2019-05-07
Console.WriteLine這個(gè)語(yǔ)法錯(cuò)誤,line的首字母L是大寫(xiě)