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

正文內(nèi)容

c實訓(xùn)報告之倉庫管理以及實訓(xùn)題目指導(dǎo)專業(yè)文檔整理-文庫吧資料

2024-09-12 23:34本頁面
  

【正文】 break。m1=month。d1=1。 } case 12: { if(day==31){y1=year+1。d1=day+1。} else{ y1=year。m1=month+1。amp。amp。} break。m1=month。d1=1。 } case 4: case 6: case 9: case 11: { if(day==30){y1=year。d1=day+1。} else {y1=year。m1=month+1。 int y1=,m1=,d1=。 return dt。} break。m1=month。d1=31。 } case 1: { if(day==1){y1=year1。d1=day1。 } else{ y1=year。 if(leap()) d1=29。 } case 3: { if(day==1) {y1=year。d1=day1。} else {y1=year。m1=month1。} break。m1=month。d1=31。 switch(month) { case 2: case 4: case 6: 更多資料下載盡在我的主頁 case 8: case 9: case 11: { if(day==1){y1=year。 } Date Yesterday()//求昨天 { Date dt(year,month,day)。return 0。 } return d。 case 4: case 6: case 9: case 11:d=30。 case 1: case 3: case 5: case 7: case 8: case 10: case 12:d=31。 else d=28。 } int Days()//判斷當(dāng)月天數(shù) { int d。year%4==0)) return 1。 } int leap()//判斷是否為潤年 { if(year%400==0||(year%100!=0amp。 day=d。 public: Date(int y=1900,int m=1,int d=1):year(y),month(m),day(d){}//構(gòu)造函數(shù) void setDate(int y,int m,int d)//設(shè)置日期 { year=y。當(dāng)然剛生成對象時,對象中的數(shù)組沒有數(shù)據(jù),只有一個一個地向?qū)ο笾胁迦霐?shù)據(jù)。 } 設(shè)計一個日期類 Date,可以求昨天的日期和明天的日期,輸出格式為:年 /月 /日,編寫主程序設(shè)置當(dāng)前日期為 2020 年 9 月 10 日,顯示昨天的日期和明天的日期,將日期改為 2020年 5 月 4 日,顯示修改后的日期。 } }while(str)。 default: cout 錯誤 !輸入 1 求面積,輸入 2 求周長 ! endl。 case 0: cout ByeBye! endl。 case 3: goto ttt。 case 2: cout 周長是 : () endl。 switch (str) 更多資料下載盡在我的主頁 { case 1: cout 面積是 : () endl。 do { cout 輸入 0 為退 出 ,輸入 1 求面積,輸入 2 求周長 ,3 是輸入長和寬 endl。//此處輸入字符時就會錯誤 (rl)。 ttt: cout 請先輸入長和寬 : 。 float rw,rl。 void main() { cout 求長方形的面積與周長 endl。 } float rect::Total ()const { return 2*(length+width)。 } float rect::getwidth()const { return width。 } 更多資料下載盡在我的主頁 void rect::putlength(float l) { length=l。 width=w。 }。 float Area()const。 float getwidth()const。 void putwidth(float w)。 float width。 } (四)對象實訓(xùn) 基礎(chǔ)實訓(xùn) 讀程序?qū)懡Y(jié)果; 設(shè)計計算圖形面積的程序,圖形有圓和長方形,計算半徑為 1 2 37 的圓和長寬分別為( 32,56)、( 21,45)的長方形等五個圖形的面積。 ()。 ()。 coutendl。 coutNow x is : 。 cina。 更多資料下載盡在我的主頁 coutEnter the item you want to add to x :。 ()。 coutThe result of x*y is:endl。 ()。 coutThe result of x+y is:endl。 ()。 ()。 coutendl。 coutThe items of x is:endl。 coutEnter the item of set x:endl。 Gather y。 } return inside。i++){ prenum=g[i]。 for (i=0。 Data *pre。 } ()。 } else q=qnext。 } y=true。 z++。 break。tz。j。i++){ q=。 for(int i=0。 p=ptr。 Data *p。 long g[100]。 Gather::operator *(Gather amp。 } return inside。i++){ (qnum)。 for(i=0。 q=qnext。i++){ pnum=qnum。 for(int i=0。 q=ptr。 Data *q。x) { ()。 } } Gatheramp。 q=qnext。i++){ pnum=qnum。 for(int i=0。 p=ptr。 form()。x) { if (ptr==) return *this。 } } Gatheramp。 pnext=NULL。 p=pnext。 } if(i!=LEN1)p=pnext。i++){ if (pnum==t){ y=false。 更多資料下載盡在我的主頁 for(int i=0。 Data *p。i%10==0) coutendl。 if (i!=0amp。i++){ coutpnum 。 for(int i=0。 Data *p。 } } void Gather::print() { if (LEN==0) coutIt39。 cinpnum。iLEN。 p=ptr。 } LEN=0。 p=pnext。iLEN。 p=ptr。} void Gather::del() 更多資料下載盡在我的主頁 { Data *p。 } } pnext=NULL。 } else { pnext=new Data。i++){ if(i==0){ ptr=new Data。 for (int i=0。} void Gather::form(int a) { LEN=a。 Gather inside。 Data *ptr。)。 Gatheramp。 operator+(Gather amp。)。} Gatheramp。 void add(int)。 void setGather()。 void form(int)。 更多資料下載盡在我的主頁 //the set class class Gather { public: Gather(int =5)。 Data *next。要求如下: ( 1) 分析集合類的數(shù)據(jù)屬性要求; ( 2)分析集合類的操作屬性要求; ( 3)編制集合類的接口定義; ( 4)實現(xiàn)集合類的屬性函數(shù)。兩個集合可以做交運算,就是將兩個集合的公共數(shù)據(jù)組成一個新的集合。計算平均成績只是在類的內(nèi)部實現(xiàn),所以設(shè)計為私有函數(shù),其它都為公有函數(shù)。計算平均成績的函數(shù)為 Calc,設(shè)計函數(shù) Display 輸出成績。平均成績用實型變量 Average 表示。 float Average() { return (Math+English+Chinese)/。 Chinese = c。} void Setvalue(int a,int b,int c) { Math = a。} int getE(){ return English。 Chinese = c。} Grades(int a,int b,int c) { Math = a。 class Grades{ private: int Math,English,Chinese。} void setAge(int xAge) { age=xAge。} void setClolur(String xClolour){ colour=xCloour。 ... int getWeight(){ return weight。 private int weight。設(shè)計 Display
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1