Describe a function that would accept 7 values from the


For each of the problems below you are to consider making a function to solve the problem. As before, state the purpose of the function in your own words.

Next specify input that is needed for the function to complete the task, and state what input should be passed to the function as parameters and what would be acquired inside the function using the input function.

Specify the expected output and state if the output will be returned to the function call or be sent to the monitor.

Finally give the step by step process that will obtain the output from the input (the algorithm).

In addition to these 4 items also specify test data that can be used for each function. Remember to describe your steps in enough detail so someone other than you could follow your algorithm and solve the problem. Also do not write any actual code

Problem : Describe a function that would accept 7 values from the function call and determine the minimum and maximum of those 7 values without using the built-in functions. Design this function without using the idea of arrays.

Send back to the function call the minimum and maximum value. You should use no more than 7 comparisons to find the maximum and no more than 7 comparisons to find the minimum.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe a function that would accept 7 values from the
Reference No:- TGS02899653

Expected delivery within 24 Hours