1 / 2
文档名称:

C大学教程第五版课后习题答案.docx

格式:docx   大小:10KB   页数:2页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

C大学教程第五版课后习题答案.docx

上传人:玥玥 2021/11/18 文件大小:10 KB

下载得到文件列表

C大学教程第五版课后习题答案.docx

文档介绍

文档介绍:GradeBook类定义:
#include <string> n" << endl;
} n" << endl;
if ( amount <= balance ) quantity set to 0.\n"
} "

;
<< "pricePerItem set to 0.\n" ;
} n\n" ;
Rational division( const Rational & ); << endl;
break ;
case 2: << endl;
break ;
case 3: << endl;
break ;
}Set Hour\n2. Set Minute\n3. Set Second\n"
<< "4. Exit\nChoice: " << endl;
cin >> choice;
return choice;
} .......p3
.
.
.......p2
n" ;
point1 = Point( , );
point2 = Point( , );
point3 = Point( , );
point4 = Point( , );
} ength();
cout << "\nwidth = " << rectangles[ i ].width();
rectangles[ i ].perimeter();
rectangles[ i ].area();
cout << "The rectangle "
<< ( rectangles[ i ].square() ? "is" :

"is not"

)
" a square.\n" ;
} .......p3
.
.
.......p2
n" ;
point1 = Point( , );
point2 = Point( , );
point3 = Poi