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

正文內(nèi)容

服裝銷售系統(tǒng)_c語言課程設(shè)計-文庫吧在線文庫

2024-10-10 11:02上一頁面

下一頁面
  

【正文】 { printf(對不起 ,你兩次輸入的密碼不一致 ,修改失敗 !\n)。 運算顯示如下(圖 44): 圖 44 ( 2) 用戶信息管理 :添加 ,修改 ,刪除 ,查詢 //用戶信息管理 :添加 ,修改 ,刪除 ,查詢 // void UserManage() { //用戶信息函數(shù) // int select。 printf(請輸入上面功能對應(yīng)的序號進行功能選擇 :)。 //調(diào)用用戶信息修改函數(shù) // continue。 } } }。 運算顯示如下(圖 46): 服裝管理系統(tǒng) 12 //用戶信息添加函數(shù) // void UserInfoAdd() { SystemUser tmpUser。)。 scanf(%s,userName)。pUseruserType)。 printf(親愛的管理員 %s 朋友 ,你好 ,你現(xiàn)在進入的用戶信息刪除功能 :\n,currentUser)。 pSystemUserHead = NULL。 } else { pUserA = pUserB。 printf( (3)商品信息添加 \n)。 switch(select) { case 1: ProductsView()。 case 5: 服裝管理系統(tǒng) 15 DeleteProduct()。 default: break。 i = 1。 printf(商品價格 : %f\n,tmpProductproductPrice)。 char productName[20]。productId)。 return 。 printf( 商品型號 : %s\n,tmpProductproductType)。 break。 printf(商品制造商 :)。 printf(商品附加信息 :)。 printf(親愛的 %s 朋友 ,你好 ,你現(xiàn)在進入的商品信息修改功能 :\n,currentUser)。 printf( 商品型號 : %s\n,tmpProductproductType)。 printf(新的商品型號 : )。 scanf(%d,amp。 //商品刪除函數(shù) // void DeleteProduct() { int productId = 0。 服裝管理系統(tǒng) 20 while(NULL != tmpProductB){ if(tmpProductBproductId == productId) { if(tmpProductB == pProductHead amp。 free(tmpProductB)。 while(1) { printf(親愛的店長 %s 同志 ,歡迎使用本系統(tǒng) ,你擁有下面所有功能 :\n,currentUser)。 switch(select) { case 1: ChangePassword()。 default: break。 printf( (5)返回上級菜單 \n)。 continue。 break。 printf( (2)查看自己月銷售報表 \n)。 case 2: ShowMonthSellReport()。 //日銷售函數(shù)的統(tǒng)計 // void ShowDaySellReport() { int year,month,day。year)。 if(NULL == tmpSellInfo) return 。 printf(符合條件的第 %d 條商品銷售記錄信息如下 :\n,rsCount)。 printf( 銷售員 :%s\n,tmpSellInfouserName)。 float totalPrice = ,onePrice。 scanf(%d,amp。 ((SELL_USER_TYPE == currentUserType)?(0 == strcmp(tmpSellInfouserName,currentUser)):1)) { rsCount++。 printf( 銷售數(shù)量 :%d\n,tmpSellInfosellCount)。 int rsCount = 0。 if(NULL == tmpSellInfo) return 。 printf( 商品單價 :%f\n,onePrice)。 //顯示所有銷售員的業(yè)績 // void ShowAllSellReport() { int rsCount = 0。 printf(第 %d 條商品銷售記錄信息如下 :\n,rsCount)。 printf(你好 %s:當前功能將進行所有銷售報表顯示 \n,currentUser)。 totalPrice += onePrice*tmpSellInfosellCount。 printf( 產(chǎn)品編號 :%d\n,tmpSellInfoproductId)。 printf(你好 %s:當前功能將進行銷售員銷售報表顯示 \n,currentUser)。 } tmpSellInfo = tmpSellInfonext。 getProductNameById(tmpSellInfoproductId,productName)。 while(NULL != tmpSellInfo) { if(year == tmpSellInfoyear amp。 printf(請輸入銷售時間年份 :)。 } printf(總共有 %d 條符合條件的記錄 ,銷售總價 %f元 \n,rsCount,totalPrice)。 printf( 產(chǎn)品名稱 :%s\n,productName)。amp。 printf(請輸入銷售時間號數(shù) :)。 SellInfoRecord *tmpSellInfo。 case 4: ExitSystem()。 scanf(%d,amp。 服裝管理系統(tǒng) 23 break。 continue。select)。 printf( (1)所有商品銷售情況 \n)。 case 3: ReportPrint()。 printf( (4)退出系統(tǒng) \n)。 tmpProductB = tmpProductBnext。 printf(商品信息刪除成功 !\n)。 scanf(%d,amp。 printf(商品信息修改成功 !\n)。 printf(新的商品價格 : )。 printf( 商品附加信息 : %s\n,tmpProductmemo)。 tmpProduct = pProductHead。product)) printf(商品信息添加成功 !\n)。)。 printf(商品名稱 :)。 printf( 商品附加信息 : %s\n,tmpProductmemo)。 case 2: printf(請輸入查詢的商品名稱 :)。 printf( 商品廠家 : %s\n,tmpProductproductCompany)。findWay)。 i++。 printf(商品編號 : %d\n,tmpProductproductId)。 default: break。 case BOSS_USER_TYPE: BossOperationMenu()。 case 3: InputAndAddProduct()。 printf( (7)退 出登陸系統(tǒng) \n)。 服裝管理系統(tǒng) 14 運算顯示如下(圖 49): 圖 49 ( 3)商品信息管理 :添加 ,修改 ,查詢 ,刪除 //商品管理模塊 // void ProductsManage() { int select。 if(pSystemUserHead == pUserB) pSystemUserHead = pUserBnext。 //pUserB 指向要刪除的記錄 ,pUserA 指向前一條記錄 if(NULL == pUserB) return 。 } 服裝管理系統(tǒng) 13 printf(對不起 ,沒有你查找的用戶信息 !\n)。 printf(請輸入新的密碼 :)。 }。 printf(用戶密碼 :)。 printf(用戶名 \t 密碼 \t 用戶類型 (1 代表管理員 ,2 代表店長, 3 代表銷售員 )\n)。 //返回上級系統(tǒng) // break。 //調(diào)用用戶信息查看的函數(shù) // continue。 printf( (3)用戶信息修改 \n)。 printf(密碼修改成功 !\n)。 printf(請輸入你的新密碼 :)。 Continue。 printf(請輸入上面功能對應(yīng)的序號進行功能選擇 :)。 } if(isLogin != 1) { printf(對不起 ,該用戶不存在 \n)。 case BOSS_USER_TYPE: BossOperationMenu()。 p
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1