CPrimerPlus(第五版)编程习题解答.docVIP

  • 54
  • 0
  • 约9.18万字
  • 约 73页
  • 2017-05-27 发布于重庆
  • 举报
CPrimerPlus(第五版)编程习题解答

Chapter 2 // pe2-2.cpp #include iostream int main(void) { using namespace std; cout Enter a distance in furlongs: ; double furlongs; cin furlongs; double feet; feet = 220 * furlongs; cout furlongs furlongs = feet feet\n; return 0; } // pe2-3.cpp #include iostream using namespace std; void mice(); void run(); int main() { mice(); mice(); run(); run(); return 0; } void mice() { cout Three blind mice\n; } void run() { cout See how they run\n; } // pe2-4.cpp #include iostream double C_to_F(double); int main() { using name

文档评论(0)

1亿VIP精品文档

相关文档