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

正文內(nèi)容

銀行賬戶信息管理系統(tǒng)_c語言課程設(shè)計(jì)報(bào)告(專業(yè)版)

2025-09-13 14:26上一頁面

下一頁面
  

【正文】 getch()。 Data4Timemin = timeinfotm_min。 amp。 } /* 銀行賬 戶信息管理 第 35 頁 /共 49 頁 朱鵬 *功能 :計(jì)算某年前幾個月份的總天數(shù) *輸入 :當(dāng)前年,月 *返回 :該年從 1 月到輸入月份的總天數(shù) [整型 ] */ int days(int year,int month) { int i,ds=0。amp。 return 。 printf(\t\t 親 ~輸入數(shù)字 0~4 就能使用對應(yīng)的功能了哦 :)。 case 4: strcpy( InfoName,存款記錄 )。 printf(\t\t 親 ~輸入數(shù)字 1~6 就能使用對應(yīng)的功能了哦 :)。 printf(\t\t▉※※※※※簡易銀行信息管理系統(tǒng)※※※※※▉ \n)。 銀行賬 戶信息管理 第 30 頁 /共 49 頁 朱鵬 if(i==0) { printf(\t\t\t 系統(tǒng)正在初始化 ~不要著急哦 ~親 ~)。,amp。 customer[3].id=4。strcpy(customer[0].address, 東土大唐)。 getch()。 /************************************** 主函數(shù)**************************************/ /* 功能 :調(diào)用各個子函數(shù)完成功能 輸入 :無 返回 :無 */ int main() { int curID=0,curTel=0。 //計(jì)算某年某月的天數(shù) int month_days(int year,int month)。 }CUSTOM。 銀行賬 戶信息管理 第 25 頁 /共 49 頁 朱鵬 /* ************************************* * 簡易銀行信息管理系統(tǒng) * * 作者:朱鵬 * * 學(xué)號: 20xx0231406 * * 指導(dǎo)老師:張吳波 田漫柳 * ************************************* */ /************************************** 頭文件**************************************/ include include include include include include include define LEN sizeof(struct records) /************************************** 記 錄 修 改 標(biāo) 記************************************/ int RecorsChanged = 0。 3)主要模塊的實(shí)現(xiàn) 系統(tǒng)以 int main()為入口,首先調(diào)用 void startvalue()函數(shù)進(jìn)行初始化,并顯示歡迎信息。 //日期換算為秒,用于排序 unsigned int Data2Sec( USEDATA * DataIn )。實(shí)現(xiàn)存取款的功能,其中會使用相關(guān)其他函數(shù)共同實(shí)現(xiàn)。 7) 界面友好(良好的人機(jī)互交) ,凡需要輸入信息時,都有較詳盡的提示信息,并對輸入信息有較完善的值域分析。 4) 通過課程設(shè)計(jì),培養(yǎng) C語言知識運(yùn)用和自學(xué)能力,真正的把課堂上獲得的知識運(yùn)用起來,培養(yǎng)自己對程序編寫的興趣,并能獨(dú)立設(shè)計(jì)和實(shí)現(xiàn)一個小型系統(tǒng)。 2) 取款:輸入客戶編號、存款金額、取款日期,完成取款功能,需要判斷客戶編號是否存在,取款金額是否大于 0,取款金額是否小于客戶的賬戶總金額,取款日期格式是否合法(格式為: YYYYMMDD,如 20xx0102))。 //二級菜單 int menu2( int InfoClass )。 //增加存取款記錄 int InOut(int IDin,double ActNum, USEDATA * ActData, int ActClass)。對于課設(shè)的時間按排,可以提前把題目給學(xué)生,這樣可以提前做課設(shè)以及復(fù)習(xí)考試。 USEDATA RightData。 /************************************** 函 數(shù) 聲 明**************************************/ //初始化 void startvalue()。 //信息查詢 int InfoFind( int ActClass , int InfoClass )。 break。 default: break。customer[1].password=8888888。customer[4].telnum=88888884。 } fclose(fp)。 getch()。 printf(\t\t▉ 存款 ▉ \n)。 char InfoName[20]={0}。 printf(\t\t▉ ▉ \n)。 printf(\t\t 請輸入 %s:,boxname)。 else if(count==1) *MonthOut = (*MonthOut)*10 + DataIn[i]39。 } return day。//返回 1,表示日期邏輯正確 else return 0。 time_t rawtime。//客戶編號錯誤 } /************************************** 存 款 、 取 款 相 關(guān) 函 數(shù)**************************************/ /* *功能 :存取款 *輸入 :int ActClass 操作類 型 1 存款 1 取款 *返回 :無 */ void Deposit_Withdraw(int ActClass ) { int curID=0,curTel=0,curPassword=0,count=0。, amp。//客戶編號正確 break。 //格式錯誤,清空緩存 return 0。amp。break。 else if(count==0) *YearOut = (*YearOut)*10 + DataIn[i]39。 return x。 printf(\t\t▉ %s用戶信息查詢 \t ▉ \n,InfoName)。 return x。 printf(\t\t▉▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▉ \n)。 } printf(\t\t\t 親 ~恭喜哦 !初始化成功了哦 ~\n)。 InOut(startID,startActNum,amp。strcpy(customer[4].name, 佛祖 )。customer[1].telnum=88888881。 exit0()。 case 2: //取款 system(cls)。 //客戶編號驗(yàn)證 int isIDexist(int IDin)。 }RECORDS。 int sec。 程序設(shè)計(jì)中的缺陷 存取款的時候,給系統(tǒng)添加記錄的時候,會同時進(jìn)行排序,排序方法用的是排序,排序方法比較簡陋,數(shù)據(jù)量較大的時候會比較耗時間。 //尋找插入點(diǎn) RECORDS * InPoint()。 //頭部信息 void SysTitle()。存、取款時間必須通過調(diào)用系統(tǒng)時間獲得。掌握并熟練運(yùn)用指針、鏈表、結(jié)構(gòu)體、文件等數(shù)據(jù)結(jié)構(gòu)。 9) 學(xué)會通過各功能性測試用例測試程序的能力,盡可能避免原則性錯誤的出現(xiàn)。實(shí)現(xiàn)信息的查詢功能,包括賬戶余額查詢,存取款歷史記錄查詢。 //判斷日期是否正確 int isDataRight(char *DataIn,int *YearOut,int *MonthOut,int *DayOut)。不管還是存取款還是信息查詢,都需要調(diào)用 void InPut()函數(shù)進(jìn)行輸入信息的輸入。 /************************************** 日期結(jié)構(gòu)體**************************************/ typedef struct data { int year。 /************************************** 存 取 款 記 錄 鏈 表**************************************/ typedef struct records { int id。 //計(jì)算某個月的總天數(shù) int days(int year,int month)。 char InPutData[20]={0},curName[20]={0},curAddress[1024]。 case 5: //取款記錄查詢 system(cls)。customer[0].account=。strcpy(customer[3].address, 流沙河)。,amp。i4。 } /************************************** 一 級 菜 單**************************************/ /* 功能 :顯示主菜單,并完成菜單的選擇 輸入 :無 返回 :選擇的菜單序號 [整型 ] */ int menu() { int x。 scanf(%d,amp。 case 5: 銀行賬 戶信息管理 第 32 頁 /共 49 頁 朱鵬 strcpy( InfoName,取款記錄 )。 scanf(%d,amp。 for (i=0。 return lp。imonth。 DataIn[7]==39。 return 。 //輸入存款金額 InPut(NULL,NULL,amp。 if(curID==1) return 。rawtime )。 DataIn[4]==39。i++) yds +=365+leap(i)。 } /* *功能 :判斷是否為閏年 銀行賬 戶信息管理 第 34 頁 /共 49 頁 朱鵬 *輸入 :整型數(shù)據(jù)年 *返回 :閏年 1/非閏年 0[整型 ] */ int leap(int year) { int lp。 }while( *money 0 )。 printf(\t\t▉ 0、返回 ▉ \n)。 case 3: strcpy( InfoName,余額 )。 printf(\t\t▉ 退出 ▉ \n)。 printf(\t\t▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ \n)。 printf(\t\t▉▁▁▁▁▁▁▁▁ ▁▁▁▁▁▁▁▁▁▁▁▁▉ \n)。startActNum,amp。customer[2].account=。 customer[0].id=1。 case 4: //存款記錄查詢 system(cls)。 //存取款記錄和余額查詢并輸出 int FindOutPut( int IDin,char * NameIn, char * AddressIn, int TelNumIn, int actclass )。 /*************************************** 日期時間相關(guān)函數(shù)***************************************/ //將字符型的日期轉(zhuǎn)換為整
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1