Answer to Question #16507 in C++ for zaima

2012-10-15T10:07:45-0400

Question #16507

write a program which inputs five numbers and displays1. the minimum number2. the maximum number3. average of numbers4. average of minimum and maximum numbers5. difference between average and average of minimum and maximum numbers

sample output:

enter five numbers: 45 43 23 21 56minimum number is: 21maximum number is: 56average of minimum and maximum numbers: 38.5difference between average and average of minimum and maximum numbers: 0.9