《C语言程序设计-现代方法》第二版 英文版(吕秀锋 黄倩)课后习题答案 人民邮电出版社
Answers to Selected Exercises2. (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 ***** 额外人用她那沛然价格id皮肤几个好姐妹
页:
[1]