不是這樣嗎
? double money = 60000.00;//存款金額
? ? ? ? ? ? if (money >=100000)
? ? ? ? ? ? ? ?console.write("送一臺微波爐");
? ? ? ? ? ? if(money>=50000)
? ? ? ? ? ? ? ? console.write("送一套茶具");
? ? ? ? ? ? if(money>=10000)
? ? ? ? ? ? ? ? console.write("送一袋大米");
? ? ? ? ? ? else
? ? ? ? ? ? ? ? console.write("沒有禮品");
2019-10-12
Console.Write
2019-10-08
額,大小寫沒區(qū)分。 寫慣了VS...