【正文】
本次程序?qū)嵺`題目基于日常生活中常見(jiàn)的應(yīng)用圖書(shū)館管理系統(tǒng),鍛煉了學(xué)生把知識(shí)應(yīng)用于實(shí)踐的能力。}\*定義tj函數(shù)*測(cè)試結(jié)果圖書(shū)館管理系統(tǒng)界面如果選擇2,則退出系統(tǒng)如果選擇1,則進(jìn)入圖書(shū)信息界面進(jìn)入圖書(shū)信息系統(tǒng),選擇1開(kāi)始錄入圖書(shū)。printf(\t\t%s\t\t%s\n,tname,\tbookamount \n)。 printf(enter the book name:)。}, ttname[20]={39。 printf(\n\n\n\n\n\n\n\t\t\t\t no one match !\n)。 printf(\t%s\t\t%s\t\t%s\t\t%s\n,tnum,tname,tauthor,tamount)。 scanf(%s,ttauthor)。239。439。 if ((fp=fopen(C:\\bookin,rb))==NULL) { printf(\n\n\n\n\n\n\n\n\n\t\t\tfile not found!...any key to return.)。\039。tamount)。},tauthor[20]={39。)。 scanf(%s%s%s%s,num1,name1,author1,amount1)。}*/ fp=fopen(C:\\bookin,w+)。 int amount1[4]。 checkmenu()。 case 39。 switch(choose) { case 39。void tj()。printf(\n\n\n\n\n\n\n\n\n\t\t\t Byebye...)。choose)。 printf(\t\\n)。 printf(\t\\n)。 printf(\t\t system of the library\n\n)。 }。設(shè)計(jì)框圖Wele to libruary systerm tsgxx() system(‘cls’) informationmenu()Informationtable exit bookin() choose ‘2’ checktablePlease add a book check()Add the book’s num name auther amountCheck by num or name or auther Y will you borrow it?exitcountinue Yborrowedexit系統(tǒng)設(shè)計(jì)第二層分系統(tǒng)3:統(tǒng)計(jì)系統(tǒng)第二層分系統(tǒng)2:圖書(shū)查詢(xún)系統(tǒng)第二層分系統(tǒng)1:圖書(shū)錄入系統(tǒng)第一分層系統(tǒng):圖書(shū)館信息系統(tǒng)退出主系統(tǒng):圖書(shū)館管理系統(tǒng)第三層分系統(tǒng):圖書(shū)借閱系統(tǒng)主要數(shù)據(jù)