public static void Main()
string[] price={"40","50"};
string[] drink={"綠茶","紅茶"};
string[] sw={"少糖","正常糖"};
string[] ice={"去冰","正常冰"};
Console.WriteLine("請問你要點甚麼飲料?");
Console.WriteLine("0.綠茶 1.紅茶");
x=Convert.ToInt16(Console.ReadLine());
Console.WriteLine("請問要甚麼甜度?");
Console.WriteLine("0.少糖 1.正常糖");
y=Convert.ToInt16(Console.ReadLine());
Console.WriteLine("請問要甚麼冰塊?");
Console.WriteLine("0.去冰 1.正常冰");
z=Convert.ToInt16(Console.ReadLine());
Console.WriteLine("請問你點的是:"+drink[x]+","+sw[y]+","+ice[z]+"嗎?");
Console.WriteLine("這樣是:"+price[x]+"元。");