Solutions to exercises and projects in the textbook C Programming: A Modern Approach, 2nd Edition
Chapter 2Answers to Selected Exercises2. [was #2] (a) The program contains one directive (#include) and four statements (three calls of printf and one return). (b) 123Parkinson's Law:Work expands so as to fill the timeavailable for its completion. 3. [was #4] 1234567891011121314#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)...