C++primerplus(第6版)中文版编程练习答案(word版).pdfVIP

  • 629
  • 0
  • 约20.75万字
  • 约 197页
  • 2020-12-18 发布于广东
  • 举报

C++primerplus(第6版)中文版编程练习答案(word版).pdf

第二章:开始学习C++ //ex2.1--display your name andaddress #includeiostream int main(void) { using namespace std; coutMy name is liao chunguang and I live in hunan chenzhou.\n”; } //ex2.2--convert the furlong units to yard uints-把浪单位换位码单位 #includeiostream double fur2yd(double); int main() { using namespace std; coutenter the distance measured by furlong units:; double fur; cinfur; coutconvert the furlong toyardendl; double yd; yd=fur2yd(fur); coutfur furlong is yd yardendl;

文档评论(0)

1亿VIP精品文档

相关文档