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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!