C语言大学实用教程习题与实验指导-哈工大考研复试教材-苏小红.pdf
目 录第 1 章 习题解答 ·········································································································································· 11.1 习题 1 及参考答案······························································································································· 21.2 习题 2 及参考答案······························································································································· 21.3 习题 3 及参考答案······························································································································· 41.4 习题 4 及参考答案······························································································································· 81.5 习题 5 及参考答案····························································································································· 431.6 习题 6 及参考答案····························································································································· 501.7 习题 7 及参考答案····························································································································· 711.8 习题 8 及参考答案····························································································································· 871.9 习题 9 及参考答案··························································································································· 1071.10 习题 10 及参考答案······················································································································· 113第 2 章 上机实验指导····························································································································· 1242.1 TURBO C 集成环境下 C 语言上机方法简介··················································································· 1252.2 TURBO C 屏幕窗口操作函数和常用图形函数··············································································· 1362.3 TURBO C 环境下的图形与声音制作实例························································································ 1412.4 在 VISUALC 环境下运行 C 程序 ································································································· 1562.5 课内上机实验题目··························································································································· 1592.5.1 实验 1 熟悉上机环境和顺序结构编程练习··································································· 1592.5.2 实验 2 选择结构编程练习······························································································· 1602.5.3 实验 3 循环结构编程练习······························································································· 1612.5.4 实验 4 函数编程练习······································································································· 1622.5.5 实验 5 数组编程练习······································································································· 1622.5.6 实验 6 一维数组和函数综合编程练习··········································································· 1632.5.7 实验 7 二维数组和函数综合编程练习··········································································· 1642.5.8 实验 8 数组、指针和函数综合编程练习······································································· 1642.5.9 实验 9 结构体编程练习··································································································· 1652.5.10 实验 10 文件编程练习··································································································· 1672.6 课外上机实验题目··························································································································· 1672.6.1 实验 1 计算到期存款本息之和······················································································· 1672.6.2 实验 2 存款预算··············································································································· 1672.6.3 实验 3 寻找最佳存款方案······························································································· 1682.6.4 实验 4 抓交通肇事犯······································································································· 1692.6.5 实验 5 求解不等式··········································································································· 1692.6.6 实验 6 计算礼炮声响次数······························································································· 169II C 语言大学实用教程习题与实验指导2.6.7 实验 7 产值翻番计算······································································································· 1702.6.8 实验 8 简单的口令检查程序··························································································· 1702.6.9 实验 9 大奖赛现场统分··································································································· 1702.6.10 实验 10 递归程序设计练习··························································································· 1712.7 课内上机实验题目参考答案··········································································································· 1722.7.1 实验 1 熟悉上机环境和顺序结构编程练习··································································· 1722.7.2 实验 2 选择结构编程练习······························································································· 1742.7.3 实验 3 循环结构编程练习······························································································· 1782.7.4 实验 4 函数编程练习······································································································· 1832.7.5 实验 5 数组编程练习······································································································· 1922.7.6 实验 6 一维数组和函数综合编程练习··········································································· 1972.7.7 实验 7 二维数组和函数综合编程练习··········································································· 2012.7.8 实验 8 数组、指针和函数综合编程练习······································································· 2062.7.9 实验 9 结构体编程练习··································································································· 2122.7.10 实验 10 文件编程练习··································································································· 2142.8 课外上机实验题目参考答案··········································································································· 2242.8.1 实验 1 计算到期存款本息之和······················································································· 2242.8.2 实验 2 存款预算··············································································································· 2252.8.3 实验 3 寻找最佳存款方案······························································································· 2262.8.4 实验 4 抓交通肇事犯······································································································· 2272.8.5 实验 5 求解不等式··········································································································· 2272.8.6 实验 6 计算礼炮声响次数······························································································· 2282.8.7 实验 7 产值翻番计算······································································································· 2292.8.8 实验 8 简单的口令检查程序··························································································· 2302.8.9 实验 9 大奖赛现场统分··································································································· 2312.8.10 实验 10 递归程序设计练习··························································································· 237
评论