Question: Develop a structured C Program to: 1. ENter 3 numbers from the keyboard 2. Call function Max by value to find the maximum of the
Develop a structured C Program to:
1. ENter 3 numbers from the keyboard
2. Call function Max by value to find the maximum of the three numbers and print it on the screen
3. Call function min by value to find the minimum of the three numbers and print it on the screen
4. calculate the difference between the max and the min
5. print the difference on the screen if the difference >=8 but print on screen "The difference between the maximum and the minimum is less than 8" if the difference <8.
Max function takes 3 numbers from the main program, compares, and returns 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
Get step-by-step solutions from verified subject matter experts
