Question: Exercise#1: Average Value Write the algorithm and a program that inputs four integer numbers and finds their average. The program will output the numbers, their

Exercise#1: Average Value Write the algorithm and a program that inputs four integer numbers and finds their average. The program will output the numbers, their average and the difference between each number and the average. Sample input/output: Enter the four integer numbers: 45 12 87 91 The numbers are: 45, 12, 87, 91 The average is: 58.75 The differences are: -13.75,-46.75, 28.25, 32.25 Exercise#2: Length Write the algorithm and a C++ program that will input a length in feet and covert it to inches and centimeters. Note: 1 foot = 12 inches. 1 inch = 2.54 centimeters. Sample input/output: Enter length in feet: 2 = Inches 24 Centimeters = 60.96 Enter length in feet: 1 Inches = 12 Centimeters = 30.48
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
