using System;
public class Program
{
public static void Main()
//1.面對問題我們需要宣告怎樣的參數和多大的空間(type)來存
int money = 0; // 領多少錢 數字
int bankmoney = 10000;
Console.WriteLine("要領多少錢");
money = int.Parse(Console.ReadLine());
//2. 判斷存款是否足夠
if(money > bankmoney){
Console.WriteLine("餘額不足");
}
else{
Console.WriteLine(" 領 " + money);;
//3. 剩下多少錢
Console.WriteLine(" 餘額 "+ (bankmoney - money));