Question: Develop a C program to: 1) Enter 3 numbers from the keyboard 2) Call function MAX by value to find the max of the three

Develop a C program to:

1) Enter 3 numbers from the keyboard

2) Call function MAX by value to find the max of the three numbers and print it on the screen.

3)Call funtion MIN by value to find the min of the three numbers and print it on the screen.

4)Calculate the difference between the max and the min.

5) Prin the difference on the screen if it is larger than or eqaul to 8 but print "The difference between maximum and minimum is greater than 8!. If less than 8; Max function takes 3 numbers from the main program, compares and return the maximum. min function takes 3 numbers from the main program, compares and returns the minimum.

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!