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

正文內(nèi)容

商務(wù)銷售統(tǒng)計課程設(shè)計-資料下載頁

2025-06-26 07:06本頁面
  

【正文】 setw(15)lefts[k]price setw(15)leftquantity setw(15)lefts[k]danwei setw(15)leftquantity*s[k]priceendl。 }} float tong::Checkout(int quantity) //單個商品小結(jié){ int k=0。 float sum()。 sum=s[k]price * quantity。 return sum。 } void tong::Total() //總結(jié)帳{ float sum = 0。 float factly。 char GoOn。 while(1) { cout要結(jié)束商品買入請按39。N/n39。,其繼續(xù)買入請按39。Y/y39。: endl。 cinGoOn。 if(GoOn==39。Y39。||GoOn==39。y39。){ int quantity。 cout請輸入商品代碼:endl。 cincodename。 cout請輸入商品數(shù)量:endl。 cinquantity。 sum+=Checkout(quantity)。 cout你購買的商品為:endl。 Display()。 } else if(GoOn==39。N39。||GoOn==39。n39。) break。 } coutendl。 sum+=Checkout(quantity)。 cout你應(yīng)該付 sum元!endl。 cout你實際付(元): 。 cinfactly。 cout應(yīng)該找回你 factlysum元!endl。 //找零。 } void caozuoa(int p){ tong t。switch(p){ case 0:()。break。 case 1:t. Alter ()。break。 case 8:exit(0)。break。}}void caozuob(int p){ tong t。switch(p){ case 0:()。break。 case 1:()。break。 case 8:exit(0)。break。}}void main(){ int a。 char w。 cout***************************************************endl。 cout\nendl。 cout*歡迎進(jìn)入商品銷售統(tǒng)計系統(tǒng)*endl。 cout\nendl。 cout***************************************************endl。 do{ cout請選擇您的操作:商品信息管理系統(tǒng)(M)商品銷售系統(tǒng)(S)endl。 cinw。 cout*菜單選項*endl。 cout**endl。 cout\nendl。 if(w==39。M39。||w==39。m39。){cout商品信息錄入(請輸入0) 修改信息(請輸入1) :endl。 cina。 caozuoa(a)。 } else if(w==39。S39。||w==39。s39。){ cout顯示商品信息(請輸入0) 商品買入(請輸入1)endl。 cina。 caozuob(a)。 } else{ cout請輸入39。M39。、39。m39?;?9。S39。、39。s39。endl。} cout您想繼續(xù)進(jìn)行其他操作嗎?(y/n)endl。 cinw。 }while(w==39。y39。)。}13 / 13
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1