Question: Write a Ch program that calculates the average of four numbers - Just like in the previous exercise - but this time ask the user

 Write a Ch program that calculates the average of four numbers

Write a Ch program that calculates the average of four numbers - Just like in the previous exercise - but this time ask the user to enter which four numbers to calculate. You will have to use the din command to get all four numbers from the user. Sample Output: Enter the first number: (number1) Enter the second number: (number2) Enter the third number: (number3) Enter the fourth number: (number) The average of these numbers is: (average)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!