Solution Found!
Describe an algorithm that produces the maximum, median,
Chapter 2, Problem 19E(choose chapter or problem)
Problem 19E
Describe an algorithm that produces the maximum, median, mean, and minimum of a set of three integers. (The median of a set of integers is the middle element in the list when these integers are listed in order of increasing size. The mean of a set of integers is the sum of the integers divided by the number of integers in the set.)
Questions & Answers
QUESTION:
Problem 19E
Describe an algorithm that produces the maximum, median, mean, and minimum of a set of three integers. (The median of a set of integers is the middle element in the list when these integers are listed in order of increasing size. The mean of a set of integers is the sum of the integers divided by the number of integers in the set.)
ANSWER:
Solution:
Step 1 :
In this problem we have to find the algorithm that produces the maximum,median,mean, and minimum of a set of three integers.