Question: In C language. Write a program that has 3 modules: int max( int num1,int num2, int num3) int min (int num1, int num2, int num3)
In C language.
Write a program that has 3 modules:
int max( int num1,int num2, int num3)
int min (int num1, int num2, int num3)
int print( int min, int max)
Ask the user for 3 numbers. Find the min and max of those numbers by calling your modules min and max. Finally, print out the min and max by calling your module print. The only printfs should be in the print module, not in the main.
Sample Execution:
Enter number 1: 3
Enter number 2: 4
Enter number 3: 5
The min of the numbers is 3 and the max of the numbers is 5.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
