liang183 发表于 2016-10-15 15:23:30

《C语言程序设计-现代方法》第二版 英文版(吕秀锋 黄倩)课后习题答案 人民邮电出版社

Answers to Selected Exercises
2. (a) The program contains one directive (#include) and four statements (three calls of printf and one return). (b)
Parkinson's Law:
Work expands so as to fill the time available for its completion. 3.
#include <stdio.h>
int main(void) {
int height = 8, length = 12, width = 10, volume;
volume = height * length * width;
printf("Dimensions: %dx%dx%d\n", length, width, height);   printf("Volume (cubic inches): %d\n", volume);
printf("Dimensional weight (pounds): %d\n", (volume + 165) / 166);
return 0; }

**** Hidden Message *****

苍天错 发表于 2017-3-30 14:11:04

额外人用她那沛然价格id皮肤几个好姐妹
页: [1]
查看完整版本: 《C语言程序设计-现代方法》第二版 英文版(吕秀锋 黄倩)课后习题答案 人民邮电出版社