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

正文內容

實驗室設備管理系統(tǒng)_c程序設計課程設計-資料下載頁

2025-06-29 11:05本頁面

【導讀】信息化動態(tài)化的管理,方便實驗室設備管理工作,提高設備管理質量和使用效率。錄入,舊設備維修和報廢及用戶管理等。能滿足日常工作的基本需要,并達到操作。過程中的直觀,方便,實用,安全等有關要求。信息管理系統(tǒng),采用面向對象的分析方法,給出系統(tǒng)的基本結構?及實現(xiàn)途徑,并且對系統(tǒng)的開發(fā)技術進行研究?本系統(tǒng)是一個為適應對學校實驗室設。備管理的迫切需求而設計開發(fā)的軟件系統(tǒng)。單以實現(xiàn)功能選擇。類統(tǒng)計模塊實驗設備查詢模塊和實驗設備報廢信息模塊。建立實驗設備信息結構體,結構體成員包括設備編號,設備種類,設備名稱,設備價格,設備購入日期,是否報廢,報廢日期。菜單函數(shù)用voidchoose()聲明,其中應用了do...while(choice!當輸入3時,系統(tǒng)跳入到統(tǒng)計的子函數(shù)中,break終止接下來的步驟。其中的數(shù)據(jù)輸入為int類型。case0:printf("\n提示:你已經(jīng)退出系統(tǒng)\n\t\t再見!

  

【正文】 ,sb[t].time,sb[t].price)。 t++。 } else t++。 } while (t100)。 printf(鍵入數(shù)字 1返回主菜單 \n)。 printf(鍵入數(shù)字任意鍵返回上層菜單 \n)。 scanf(%d,amp。choice)。 if (choice==1) choose()。 else cx()。 } void tj()//統(tǒng)計 { int choice。 char tong[20]。 printf(\n輸入你要統(tǒng)計的設備種類 :)。 scanf(%s,tong)。 do { if(strcmp(sb[t].kind,tong)==0amp。amp。sb[t].yesno==1) //1表示設備沒報廢 { printf(設備號 設備名稱 設備種類 報廢日期 是否報廢 購買時間 價格 \n)。 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)。 t++。 } else t++。 C 語言課程設計論文 25 } while (t100)。 printf(鍵入數(shù)字 1返回主菜單 \n)。 printf(鍵入數(shù)字任意鍵返回上層菜單 \n)。 scanf(%d,amp。choice)。 if (choice==1) choose() 。 } void bf() //報廢信息 { int choice。 do { printf(\t\t\t\n)。 printf(\t\t\t* [1]登記報廢信息 *\n)。 printf(\t\t\t* [2]報廢設備統(tǒng)計 *\n)。 printf(\t\t\t* [0]退出 *\n)。 printf(\t\t\t************|\n)。 scanf(%d,amp。choice)。 getchar()。 switch(choice) { case 0:menu()。break。 case 1:bf_dj()。break。 case 2:bf_tj()。break。 default:printf(輸入無效請重新輸入 \n)。bf()。 break。 } } while(choice!=0)。 } void bf_dj()//報廢登記 { char find[20]。 int x。 t=0。 printf(請輸入要登記的設備 ID號 :)。 scanf(%s,find)。 while(1) { if(strcmp(sb[t].id,find)==0) //如果找到的話返回的是符合要求 { break。 C 語言課程設計論文 26 } else t++。 } while(1) { printf(完成登記請輸入 0否則輸入任意數(shù)再進行修改 :)。 scanf(%d,amp。x)。 if(x==0) break。 { printf(請輸入新設備是否報廢 1 、沒報廢 , 0 、報廢 ( 原來是 %d ):,sb[t].yesno)。 scanf(%d,amp。sb[t].yesno)。 printf(\n提示 :該項記錄資料已經(jīng) 成功登記 !\n)。 scanf(%d,amp。x)。 switch(x) { case 0:choose()。break。 case 1:bf()。break。 default:printf(輸入無效 , 自動返回主菜單 \n)。choose()。break。 } } } } void bf_tj()//報廢統(tǒng)計 { int choice。 char find[20]。 t=0。 printf(\n輸入你要統(tǒng)計的報廢設備種類 :)。 scanf(%s,find)。 do { if(strcmp(sb[t].kind,find)==0amp。amp。sb[t].yesno==0) //0表示設備報廢 { printf(設備號 設備名稱 設備種類 報廢日期 是否報廢 購買時間 價格 \n)。 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)。 t++。 } C 語言課程設計論文 27 else t++。 } while (t3)。 printf(鍵入數(shù)字 1返回主菜單 \n)。 printf(鍵入數(shù)字任意鍵返回上層菜單 \n)。 scanf(%d,amp。choice)。 if (choice==1) choose()。 } int menu(int choice) { printf(\n\n\n)。 printf(\t\t\t\n)。 printf(\t\t\t+ 實驗設備管理系統(tǒng) |\n)。 printf(\t\t\t\n)。 printf(\t\t\t+ [1]錄入設備信息 |\n)。 printf(\t\t\t+ [2]修改設備信息 |\n)。 printf(\t\t\t+ [3]查詢設備信息 |\n)。 printf(\t\t\t+ [4]統(tǒng)計設備信息 |\n)。 printf(\t\t\t+ [5]報廢設備信息 |\n)。 printf(\t\t\t+ [0]*EXIT* |\n)。 printf(\t\t\t+**********|\n)。 printf(\t\t\t\n)。 printf(請輸入你要操作的序號 :)。 scanf(%d, amp。choice)。 return choice。 } void choose() { int choice。 choice=1。 choice=menu(choice)。 do{ switch (choice) { case 0: printf(\n提示 :你已經(jīng)退出系統(tǒng) \n\t\t 再見 !\n)。 break。 case 1: lr()。 break。 case 2: xg()。 break。 case 3: cx()。 break。 case 4: tj()。 break。 C 語言課程設計論文 28 case 5: bf()。 break。 default: printf(提示 :輸入錯誤 !\n)。 break。 } } while(choice!=0)。 } main() {char s[20]。 int i。 if(mmcsz==0) {printf(請輸入登錄密碼 : )。//密碼為 : 1314 mmcsz++。 for(i=0。i4。i++) { s[i]=getch()。 printf(*)。 } s[4]=39。\039。 if(strcmp(s,1314)==0) choose()。 else printf(密碼錯誤 \n)。 } else choose()。 }
點擊復制文檔內容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1