Arithmetic largest value and smallest value write a program


Question: (Arithmetic, Largest Value and Smallest Value) 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:

Enter three different integers: 13 27 14

Sum is 54

Average is 18

Product is 4914

Smallest is 13

Largest is 27

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Arithmetic largest value and smallest value write a program
Reference No:- TGS02403501

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)