Question: Create a function that takes 3 integers x, y, and z as input parameters and a pointer list as an output parameter. Assume that list

Create a function that takes 3 integers x, y, and z as input parameters and a pointer list as an output parameter. Assume that list points to an array of length 3. Your function will write in list the 3 integers sorted in non-increasing order. Loop structures are not allowed.

void sortxyz(int x, int y, int z, int *list); 

Cannot use any libaries or include anything and no loop structures are allowed

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!