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

正文內(nèi)容

實(shí)驗(yàn)室設(shè)備管理系統(tǒng)設(shè)計書-預(yù)覽頁

2025-08-08 11:04 上一頁面

下一頁面
 

【正文】 char time[10]。 其中的 shebei sb[200]要求最多錄入 200條信息。 printf(\n請輸入設(shè)備名稱 :)。 if...else語句更好的避免了輸入進(jìn)入死循環(huán)。x)。 如 : switch(x) { case 0:choose()。 default:printf(輸入無效 , 自動返回主菜單 \n)。如 : int x , char find[20]. void xg()//修改 { char find[20]。 scanf(%s,find)。 scanf(%d,amp。 scanf(%s,sb[t].id)。 scanf(%d,amp。 當(dāng)選擇 0時,跳回 menu函數(shù); 當(dāng)選擇 1時,跳到設(shè)備號查詢函數(shù); void cx_sbh() C 語言課程設(shè)計論文 9 { do { if(strcmp(sb[t].id,find)==0amp。 }while (t100)。 循環(huán) , 其中含有 if ...esle的選擇語句。sb[t].yesno==1) //1表示設(shè)備沒報廢 { } else t++。 } 設(shè)備名稱查詢函數(shù)用 void cx_mc()聲明 , 使用 do...while(choice!=0)。 C 語言課程設(shè)計論文 10 查詢函數(shù)包含的數(shù)據(jù)類型有 int類型 .如 : int choice等。 case 1:cx_sbh()。 default:printf(輸入無效請重新輸入 \n)。 } 統(tǒng)計函數(shù)用 void tj()聲明,在 if的使用中,其實(shí)現(xiàn)了返回菜單的操作。choice)。amp。 統(tǒng)計函數(shù)包含的數(shù)據(jù)類型有 int類型和 char類型 .如 : int choice和 char tong 等。 scanf(%s,tong)。 C 語言課程設(shè)計論文 11 printf(\n%13s%11s%7s%10s%13d%10s%5s\n,sb[t].id,sb[t].name,sb[t].kind,sb[t].over,sb[t].yesno,sb[t].time,sb[t].price)。 printf(鍵入數(shù)字 1返回主菜單 \n)。 if (choice==1) choose() 。 } else t++。 case 1:bf()。break。 其中包含的數(shù)據(jù)類型有 int類型和 char類型 .如: int choice和 char choice類型等。 } 設(shè)備名稱查詢函數(shù)用 void cx_mc()聲明 , 使用 do...while(choice!=0)。 do { printf(\t\t\t\n)。 printf(\t\t\t*** scanf(%d,amp。break。break。 } } while(choice!=0)。 當(dāng)輸入 3時,系統(tǒng)跳入到查詢的子函數(shù)中。請分別輸入數(shù)字 1, 2, 3等,然后回車。 輸入 0則將返回主菜單。 輸入 0則將返回主菜單。 圖 6 查詢設(shè)備信息 此為統(tǒng)計設(shè)備信息界面,在菜單界面中選擇 4進(jìn)入,進(jìn)入后選 擇不同的統(tǒng)計方式 選擇 1,則將按設(shè)備號統(tǒng)計; 選擇 2,則將按設(shè)備名稱統(tǒng)計; 選擇 0,則將退出。 C 語言課程設(shè)計論文 16 其中的數(shù)據(jù)輸入為 int類型。按照計算機(jī)所指出的錯誤位置尋找是不容易找出錯誤的。 在幫同學(xué)修改程 序的過程中,也遇到過一個問題。在實(shí)習(xí)過程中,我感覺到一點(diǎn),程序是不能一氣呵成的。要明確想要什么。到這一步,程序也就初步編成了,之后便是調(diào)試,檢查錯誤。我覺得自己說學(xué)的東西不多,但是可以將它們運(yùn)用出來。程序可以更數(shù)學(xué)方法如此緊密的結(jié)合。 我真誠的感謝在這次實(shí)習(xí)中給予指導(dǎo)的李聰老師! C 語言課程設(shè)計論文 20 附錄 源文件 (每個函數(shù)都要有功能說明) include include define null 0 int t=0。//菜單 void lr()。//設(shè)備號查詢 void cx_mc()。//報廢登記 void bf_tj()。 char kind[15]。 char price[10]。 printf(\n請你輸入設(shè)備 ID號 :)。 C 語言課程設(shè)計論文 21 scanf(%s,sb[t].name)。 scanf(%s,sb[t].over)。 printf(\n請輸入設(shè)備購買時間 :)。 printf(提示 :已經(jīng)完成一條記錄的添加。 int x。 while(1) { if(strcmp(sb[t].id,find)==0) //如果找到的話返回的是符合要求 { break。x)。 printf(請輸入新設(shè)備名稱 (原來是 %s ):,sb[t].name)。 printf(請輸入新設(shè)備報廢日期名稱 (原來是 %s ):,sb[t].over)。sb[t].yesno)。 scanf(%s,sb[t].price)。 scanf(%d,amp。 case 1:xg()。break。 printf(\t\t\t* [2]按設(shè)備名稱查找 *\n)。*** getchar()。break。cx()。 char find[20]。 getchar()。 printf(\n%13s%11s%7s%10s%13d%10s%5s\n,sb[t].id,sb[t].name,sb[t].kind,sb[t].over,sb[t].yesno,sb[t].time,sb[t].price)。 printf(鍵入數(shù)字 1返回主菜單 \n)。 if (choice==1) choose()。 t=0。amp。 } else t++。 scanf(%d,amp。 } void tj()//統(tǒng)計 { int choice。 do { if(strcmp(sb[t].kind,tong)==0amp。 t++。 printf(鍵入數(shù)字任意鍵返回上層菜單 \n)。 } void bf() //報廢信息 { int choice。 printf(\t\t\t* [0]退出 *\n)。***|\n)。 switch(choice) { case 0:menu()。 case 2:bf_tj()。 break。 t=0。 C 語言課程設(shè)計論文 26 } else t++。 if(x==0) break。 printf(\n提示 :該項(xiàng)記錄資料已經(jīng)成功登記 !\n)。break。choose()。 t=0。amp。 } C 語言課程設(shè)計論文 27 else t++。 scanf(%d,amp。 printf(\t\t\t\n)。 printf(\t\t\t+ [2]修改設(shè)備信息 |\n)。 printf(\t\t\t+ [0]*EXIT* |\n)。** printf(\t\t\t\n)。 return choice。 do{ switch (choice) { case 0: printf(\n提示 :你已經(jīng)退出系統(tǒng) \n\t\t 再見 !\n)。 case 2: xg()。 case 4: tj()。 default: printf(提示 :輸入錯誤 !\n)。 int i。i4。\039。 }
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1