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

正文內(nèi)容

c語言課程設(shè)計-服裝銷售系統(tǒng)(參考版)

2025-06-28 06:24本頁面
  

【正文】 感謝身邊C語言高手們在程序設(shè)計時的一些幫助,讓我克服難關(guān)。7.致謝感謝各位孔春芳老師,給我這個難得的機會在機房中嘗試設(shè)計程序,在C語言學(xué)習(xí)中教會我了許多專業(yè)的基礎(chǔ)知識。不可避免地,程序中肯定依然存在者某些問題,我希望在以后的學(xué)習(xí)和應(yīng)用中不斷提高自己的能力,攻克遇到的困難。同時我掌握了解決問題的方法,這無論是對以后的學(xué)習(xí)、生活都有無比重要的價值。首先通過不斷地學(xué)習(xí)和鍛煉更加熟練地掌握應(yīng)用軟件Microsoft Visual C++了。(注:本程序設(shè)置了管理員,店長,銷售人員的初始賬號為admin boss Sell 初始密碼和賬號一致,可以用初始賬號登陸使用此程序) 圖 512. 管理員功能界面(圖52) 根據(jù)自己的需要選擇功能前編號按 ENTER 健即可進(jìn)入對應(yīng)功能,例如選擇用戶信息管理 (選2 按ENTER) 圖523. 店長功能界面(圖53) 假如你的賬號身份是店長登陸后顯示店長的功能界面 圖53 如果你需要的顯示銷售報表 輸入3 按enter就進(jìn)入了(圖54) 圖544. 銷售人員功能界面(圖55) 圖556.總結(jié)在編程過程中遇到很多問題,之后請教同學(xué)和老師,細(xì)心的把問題一一解決。 } }}。 break。 continue。 continue。 continue。 continue。select)。 printf(請輸入上面功能對應(yīng)的序號進(jìn)行功能選擇:)。 printf( (4)報表查看\n)。 printf( (2)商品查詢\n)。 while(1) { printf(親愛的銷售員%s同志,歡迎使用本系統(tǒng),你擁有下面所有功能:\n,currentUser)。}。 tmpSellInfo = tmpSellInfonext。 printf( 銷售時間:%d年%d月%d日\n,tmpSellInfoyear,tmpSellInfomonth,tmpSellInfoday)。 printf( 銷售數(shù)量:%d\n,tmpSellInfosellCount)。 onePrice = getPriceById(tmpSellInfoproductId)。 getProductNameById(tmpSellInfoproductId,productName)。 printf( 銷售編號:%d\n,tmpSellInfosaleId)。 while(NULL != tmpSellInfo) { rsCount++。 tmpSellInfo = pSellInfoHead。 SellInfoRecord *tmpSellInfo。 float totalPrice = ,onePrice。}。 } tmpSellInfo = tmpSellInfonext。 printf( 銷售時間:%d年%d月%d日\n,tmpSellInfoyear,tmpSellInfomonth,tmpSellInfoday)。 printf( 銷售數(shù)量:%d\n,tmpSellInfosellCount)。 onePrice = getPriceById(tmpSellInfoproductId)。 getProductNameById(tmpSellInfoproductId,productName)。 printf( 銷售編號:%d\n,tmpSellInfosaleId)。 while(NULL != tmpSellInfo) { if(0 == strcmp(userName,tmpSellInfouserName)) { rsCount++。 tmpSellInfo = pSellInfoHead。 printf(請輸入銷售員的帳戶名:)。 SellInfoRecord *tmpSellInfo。 float totalPrice = ,onePrice。//顯示銷售員的業(yè)績//void ShowEmployeeSellReport() { char userName[20]。 } printf(總共有%d條符合條件的記錄,銷售總價%f元\n,rsCount,totalPrice)。 totalPrice += onePrice*tmpSellInfosellCount。 printf( 銷售員:%s\n,tmpSellInfouserName)。 printf( 商品單價:%f\n,onePrice)。 printf( 產(chǎn)品名稱:%s\n,productName)。 printf( 產(chǎn)品編號:%d\n,tmpSellInfoproductId)。 printf(符合條件的第%d條商品銷售記錄信息如下:\n,rsCount)。amp。amp。 if(NULL == tmpSellInfo) return 。month)。 printf(請輸入銷售時間月份:)。 scanf(%d,amp。 printf(你好%s:當(dāng)前功能將進(jìn)行月銷售報表顯示\n,currentUser)。 char productName[20]。 int rsCount = 0。}。 } tmpSellInfo = tmpSellInfonext。 printf( 銷售時間:%d年%d月%d日\n,tmpSellInfoyear,tmpSellInfomonth,tmpSellInfoday)。 printf( 銷售數(shù)量:%d\n,tmpSellInfosellCount)。 onePrice = getPriceById(tmpSellInfoproductId)。 getProductNameById(tmpSellInfoproductId,productName)。 printf( 銷售編號:%d\n,tmpSellInfosaleId)。 ((SELL_USER_TYPE == currentUserType)?(0 == strcmp(tmpSellInfouserName,currentUser)):1)) { rsCount++。 day == tmpSellInfoday amp。 month == tmpSellInfomonth amp。 while(NULL != tmpSellInfo) { if(year == tmpSellInfoyear amp。 tmpSellInfo = pSellInfoHead。 scanf(%d,amp。month)。 printf(請輸入銷售時間月份:)。 scanf(%d,amp。 printf(你好%s:當(dāng)前功能將進(jìn)行日銷售報表顯示\n,currentUser)。 char productName[20]。 int rsCount = 0。 } } }}。 break。 break。 continue。 continue。select)。 printf(請選擇相應(yīng)的功能號:)。 printf( (3)返回上級菜單\n)。 printf( (1)查看自己日銷售報表\n)。 default: break。 case 6: ExitSystem()。 default: break。 case BOSS_USER_TYPE: BossOperationMenu()。 case 5: switch(currentUserType) { case ADMIN_USER_TYPE: AdminOperationMenu()。 case 4: ShowEmployeeSellReport()。 case 3: ShowMonthSellReport()。 case 2: ShowDaySellReport()。 switch(select) { case 1: ShowAllSellReport()。 scanf(%d,amp。 printf( (6)退出登陸系統(tǒng)\n)。 printf( (4)銷售員銷售報表\n)。 printf( (2)商品日銷售報表\n)。 if(SELL_USER_TYPE != currentUserType) { while(1) { printf(親愛的朋友%s,你好,你現(xiàn)在進(jìn)入的是銷售報表功能界面:\n,currentUser)。 } }}。 break。 break。 break。 break。select)。 printf(請輸入上面功能對應(yīng)的序號進(jìn)行功能選擇:)。 printf( (3)銷售報表顯示:日報表,月報表,商品銷售量報表,銷售員業(yè)績報表\n)。 printf( (1)自身密碼修改\n)。4. 店長功能模塊(圖416)店長模塊自身密碼修改:添加,修改,查詢,刪除:日銷售報表,月銷售報表,銷售員銷售報表5. 圖416(1) 店長歡迎界面//店長歡迎界面//void BossOperationMenu() { int select。 } } printf(對不起,不存在該商品編號的信息!)。 } else { tmpProductA = tmpProductB。 printf(商品信息刪除成功!\n)。 if(pProductHead == tmpProductB) pProductHead = tmpProductBnext。 return 。
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1