求大佬指點哪里有問題
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
? ? class Program
? ? {
? ? ? ? static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ? double money = 60000.00;//存款金額
? ? ? ? ? ? if (money>=100000)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? Console.WriteLine("送個微波爐");
? ? ? ? ? ? }
? ? ? ? ? ? else if(money>=50000)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? Console.WriteLine("送個茶具");
? ? ? ? ? ? }
? ? ? ? ? ? else if(money>=10000)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? Console.WriteLine("送一袋大米");
? ? ? ? ? ? }
? ? ? ? ? ? else
? ? ? ? ? ? {
? ? ? ? ? ? Console.WriteLine("沒有禮品"); ??
? ? ? ? ? ? }
? ? ? ? ? ? }//請在這里補充多重條件判斷
? ? ? ? }
? ? }
}
2018-06-28
你的if語句后面,4個分號用的都是中文模式。。。你自己應該看出來了吧
2022-03-26
運行結果和任務里要求的一樣就可以啦前端的話就按培養計劃來吧
2018-07-02
Console.WriteLine 為毛我要復制答案里面的這個才可以啊? 我自己拼寫也是正確的啊,為毛啊