Question: *Program is in C* Write if-else statements to find the maximum of 6 numbers a, b, c, d, e and f. You can assume that

*Program is in C*
Write if-else statements to find the maximum of 6 numbers a, b, c, d, e and f. You can assume that all the numbers are distinct and you can use any number of additional variables. Do not use any functions to compute the maximum. Just use if-else statements. Try to minimize the amount of code that needs to be written. Assume that the following function is available. int max3(int x, int y, int z) Assume that all the numbers are distinct and show how to use this method to compute the following maximum of 2 numbers a and b maximum of 4 numbers a, b, c and d minimum of 3 numbers a, b and c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
