c2.4 p47 PRACTICE!

Assume that the integer variable sum contains the value 65, the double
variable average contains the value 12.368, and the char variable ch
contains the value 'b'. Show the output line (or lines) generated by the
following statements (use  b to indicate spaces):

     1: printf("Sum = %5i; Average = %7.1f \n", sum, average);

     2: printf("Sum = %4i \n Average = %8.4f \n", sum, average);

     3: printf("Sum and Average \n\n %d %.1f \n", sum, average);

     4: printf("Character is %c; Sum is %c \n", ch, sum);

     5: printf("Character is %i; Sum is %i \n", ch, sum);

     6: printf("7.2f is the average; \n", average);

        printf("%8d is the sum \n", sum);

     7: printf("%7.2f is the average;", average);

        printf("%8d is the sum \n", sum);