freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

atm自動取款機結構化分析及設計講義(參考版)

2024-08-23 18:58本頁面
  

【正文】 另外由于我們設計的 ATM機面向的是祖國大陸,所以在港元和人民幣以及美元和人民幣之間存在轉換問題,所 以在港元帳戶上面添加了港元對人民幣的匯 率這一屬性,在美元帳戶上面增加了美元 對人民幣的匯率的屬性。 } else {error!} } Else if ( initialcode1 = = accountCode | | changecode1 = = changecode2) { Printf(“Changing Code Successfully!:” ) } } 通過調整需求,篩選可以復用的組件,我們引入帳戶類作為父類,并由其派生出人民幣帳戶類,美元帳戶類,港元帳戶類和其它帳戶類。 Printf(“Input change code again:” ) Scanf(“%d”, amp。 Printf(“Changing Code Successfully!:” ) } } Printf(“Input the code you want to change:” ) Scanf(“%d”, amp。 initialcode1)。 initialcode2)。 changecode1)。 time++。 Printf(“Input you initial code:” ) Scanf(“%d”, amp。 Integer: changecode2。 三級抽象描述 Integer: initialcode1。 二級抽象描述 Input you initial code。 } Else Show error message。 If (transferAmount balance) { balance = balance – transferAmount。 Scanf(“%d”, amp。 time++ if (time 10) return。 Scanf(“%d”, amp。 time++。 Printf(“Input the same account number again:” ) Scanf(“%d”, amp。 transferNum1)。 Integer: time = 0。 三級抽象描述 Integer: transferNum1。 二級抽象描述 Input the account number you want to transfer Input the same account number again Input the amount of money you want to transfer If (the money you input is more than you balance) Minus you balance Show message (“ transferring successfully”)。 二級抽象描述 Choose the type of account you want to check, Then get you account balance information。 else printf(“No enough money to withdraw!”)。amount)。 三、算法設計、 取款操作算法描述( withdrawing()) 一級抽象描述 Withdarw the money you want。 二、實現(xiàn)描述: 對象名: bankCard 類名: BankCard 私有數據結構: Integer: amount。 MESSAGE( ATM__Back ) 返回上一層界面。 MESSAGE( ATM__Transfer) 進入轉帳界面,提示用戶選擇轉帳類型然后 要求兩次輸入目標帳戶的帳號,之后再輸入轉帳金額。 當你選擇其中一個帳戶類型時就顯示帳戶信息。 一、協(xié)議描述: MESSAGE( ATM— Withdraw) 按下此按鈕就進入取款的界面,并提示客戶輸入取款數額。 退卡任務:在用戶發(fā)出退卡任務時,將用戶插入 ATM機的銀行卡退出。 更改密碼:在
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1