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

正文內(nèi)容

軟件工程課程設(shè)計(jì)-銀行儲(chǔ)蓄管理系統(tǒng)-文庫吧

2024-12-29 19:04 本頁面


【正文】 得到的軟件結(jié)構(gòu)進(jìn)一步精化。由于業(yè)務(wù)員的操作與用戶的操作基本相似,可以簡(jiǎn)單化地認(rèn)為系統(tǒng)只與業(yè)務(wù)員交互,基于這個(gè)思想,將有利與簡(jiǎn)化以后系統(tǒng)程序的設(shè)計(jì)與開發(fā)。精化圖如下:業(yè)務(wù)員操作銀行存儲(chǔ)管理系統(tǒng)用戶操作系統(tǒng)輸出查詢?nèi)】畲婵铋_戶計(jì)算利息打印存單更新用戶信息保存新用戶信息密碼驗(yàn)證提交用戶查詢表提交取款單提交存款單提交用戶申請(qǐng)表打印清單銀行儲(chǔ)蓄管理系統(tǒng)實(shí)驗(yàn)項(xiàng)目:銀行儲(chǔ)蓄實(shí)驗(yàn)項(xiàng)目一、銀行儲(chǔ)蓄系統(tǒng)主菜單模塊設(shè)計(jì)與實(shí)現(xiàn)1.1庫函數(shù)描述(原型、功能、頭部文件)及其作用Time顯示當(dāng)前時(shí)間類 includeSystem()調(diào)用dos命令 _sleep()停息includeString 字符串流includeinclude中有調(diào)用的全部函數(shù)聲明1.2編碼(必須附加注釋)includevoid main(){ //背景顏色設(shè)置 system(COLOR 16)。/*顏色屬性由兩個(gè)十六進(jìn)制數(shù)字指定 第一個(gè)為背景,第二個(gè)則為前景。每個(gè)數(shù)字可以為以下任何值之一: 0 = 黑色 8 = 灰色 1 = 藍(lán)色 9 = 淡藍(lán)色 2 = 綠色 A = 淡綠色 3 = 湖藍(lán)色 B = 淡淺綠色 4 = 紅色 C = 淡紅色 5 = 紫色 D = 淡紫色 6 = 黃色 E = 淡黃色 7 = 白色 F = 亮白色*/ //輸出=============★歡迎進(jìn)入銀行活期存款系統(tǒng)★============= int i。 for(i=0。i13。i++) cout39。=39。 cout★歡迎進(jìn)入銀行活期存款系統(tǒng)★。 for(i=0。i13。i++) cout39。=39。 coutendl。 //列示當(dāng)前時(shí)間 cout當(dāng)前時(shí)間:。 for(i=0。i6。i++) cout 。 Time t=latesttime()。 ()。 //列示菜單 mylist()。 cout如果您不了解該系統(tǒng)請(qǐng)按N否則按Y: 。 //核實(shí)輸入是否為字符 string check。 while(1) { cincheck。 if(()1) { cout您的輸入有誤請(qǐng)重新輸入:。 continue。 } if(check[0]!=39。Y39。amp。amp。check[0]!=39。N39。) cout您的輸入有誤請(qǐng)重新輸入:。 else break。 } int mark=1。 if(check[0]==39。N39。) { mark=0。 cout友情提示:按對(duì)應(yīng)業(yè)務(wù)的編號(hào)即可進(jìn)行該業(yè)務(wù)!endl請(qǐng)繼續(xù):endl。 } int flag=1。 while(flag++) { if(flag2) { system(cls)。 mylist()。 } if(mark) cout請(qǐng)選擇業(yè)務(wù):。 string servicenum。 //核實(shí)輸入是否為字符 while(1) { cinservicenum。 if(()1) { cout您的輸入有誤請(qǐng)重新輸入:。 continue。 } else break。 } cout確認(rèn)請(qǐng)按Y,修改請(qǐng)按N,請(qǐng)選擇:。 string mark。 //核實(shí)輸入是否為字符 while(1) { cinmark。 if(()1) { cout您的輸入有誤請(qǐng)重新輸入:。 continue。 } if(mark[0]!=39。Y39。amp。amp。mark[0]!=39。N39。) cout您的輸入有誤請(qǐng)重新輸入:。 else break。 } if(mark[0]==39。N39。) continue。 if(servicenum[0]==39。039。) break。 cout 正在處理請(qǐng)稍等.。 _sleep(1000)。 cout.。 _sleep(1000)。 cout.\n。 _sleep(1000)。 switch(servicenum[0]) { //開戶 case 39。139。: creaccount()。break。 //存款 case 39。239。: deposit()。break。 //取款 case 39。339。: withdraw()。break。 //計(jì)息 case 39。439。: puteprofit()。break。 //查詢 case 39。539。: checkbalance()。break。 //排序 case 39。639。: order()。break。 //系統(tǒng)介紹 case 39。739。: about()。 break。 default: cout對(duì)不起,您的選擇超出了我們的業(yè)務(wù)范圍。endl。 } } cout交易完畢,謝謝合作?。。ndl。}1.3 主函數(shù)顯示菜單void mylist(){ int i。 for(i=0。i11。i++) cout39。 39。 cout*************主菜單*************endl。 for(i=0。i12。i++) cout 。 cout☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 for(i=0。i12。i++) cout 。 cout☆0.................退出 ☆endl。 for(i=0。i12。i++) cout 。 cout☆1.................開戶 ☆endl。 for(i=0。i12。i++) cout 。 cout☆2.................存款 ☆endl。 for(i=0。i12。i++) cout 。 cout☆3.................取款 ☆endl。 for(i=0。i12。i++) cout 。 cout☆4.................計(jì)息 ☆endl。 for(i=0。i12。i++) cout 。 cout☆5.................查詢 ☆endl。 for(i=0。i12。i++) cout 。 cout☆6.................排序 ☆endl。 for(i=0。i12。i++) cout 。 cout☆7.................關(guān)于 ☆endl。 for(i=0。i12。i++) cout 。 cout☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。}void about(){ cout銀行活期存款系統(tǒng) 作者:張瑞endl。 cout該系統(tǒng)嚴(yán)格按照國際銀行活期存款規(guī)則編寫,endl。 cout如果您什么不懂,請(qǐng)?jiān)诘谝徊讲僮髦休斎隢.endl。 cout注意:?。?!endl。 cout版權(quán)所有,打擊盜版?。。ndl。 over()。 return。}1.4實(shí)驗(yàn)小結(jié)(實(shí)驗(yàn)遇到的問題,解決方法) 必需加個(gè)外部修飾extern 同樣用extern實(shí)驗(yàn)項(xiàng)目二、銀行儲(chǔ)蓄系統(tǒng)開戶模塊設(shè)計(jì)與實(shí)現(xiàn)2.1庫函數(shù)描述(原型、功能、頭部文件)及其作用includeiostream//c++的標(biāo)準(zhǔn)輸入輸出include//c的庫函數(shù)includestring//字符串流include//getch()鍵盤輸入屏幕不輸出includevector//STL中的迭代器include //messagebox()消息框include//時(shí)間類的頭文件include//c標(biāo)準(zhǔn)輸入輸出和文件流using namespace std。2.2帳戶類定義include//class Time{public: int year,month,day,hour,minute,second。 Time(int a=0,int b=0,int c=0,int d=0,int e=0,int f=0):year(a),month(b),day(c),hour(d),minute(e),second(f){} void print() { coutyear年month月day日hour時(shí)minute分second秒endl。 } void print1() { coutyear年month月day日hour時(shí)minute分second秒。 } //兩個(gè)時(shí)間段相距的天數(shù) int isHalfYear(Time t) { int ct。 if(year) ct=()*360+(+11)*30+day+。 else ct=()*30+day+。 return ct。 } void copy(Time f)//時(shí)間拷貝 { year=。 month=。 day=。 hour=。 minute=。 second=。 }//判斷時(shí)間是否大 bool timebig(Time t) { if(year) return false。 else if(year) return true。 else if(year==) { if(month) return false。 else if(month) return true。 else if(month==) { if(day) return false。 else if(day) return true。 else if(day==) { if(hour) return false。 else if(hour) return true。 else if(hour==) { if(minute) return false。 else if(minute) return true。 else if(minute==) { if(second) return false。 else if(second) return true。 } else return true。 } else return true。 } else return true。 } else return true。 } return true。 }}。//檢查輸入的字符產(chǎn)是否全是數(shù)字bool checknum(const char*)。//重載比較函數(shù)int strcmp(const char*s1,const char*s2)。//錢數(shù)大些函數(shù)聲明void readmoney(char*)。//定義帳號(hào)類class Account{ public: char name[20],ID[20],balance[15],code[10]。 Time time。 Account(const char* a=,const char* b=,const char* c=,const char* d=,Time e=Time(0,0,0,0,0,0)) { strcpy(name,a)。 strcpy(ID,b)。 strcpy(code,c)。 strcpy(balance,d)。 time=e。 } void print1() { int i。 for(i=0。i30。i++) cout{}。 coutendl。 cout姓名: nameendl。 cout身份證號(hào): IDendl。 cout余額: balanceendl。 cout余額大寫: 。 readmoney(balance)。 cout開戶時(shí)間: 。 ()。 } void print2() { int i。 for(i=0。i30。i++) cout{}。 coute
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1