Question: Write a program that inputs three different integers from the keyboard, then prints the sum, the average, the product, the smallest and the largest of these numbers. Use only the single-selection form of the if statement you learned in this chapter. The screen dialogue should appear as follows:

Larger smaller value test

Program output
Program output

Click here to see other solutions to Deitel C How To Program exercises.

Write A Comment