Question: Assume that the integer variable sum contains the value 120, and the double variable average contains the value 15.456789. Show the output line (or lines)
Assume that the integer variable sum contains the value 120, and the double variable average contains the value 15.456789. Show the output line (or lines) generated by the following statements: a. printf("%8.2f is the AVERAGE;", average); printf("%5i is the SUM ", sum); b. printf("% f is the AVERAGE;". average); printf("%2i is the SUM ", sum)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
