Describe a function that would accept seven values

Assignment Help Computer Engineering
Reference no: EM132106198

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.

Reference no: EM132106198

Questions Cloud

What penalties or remedies might be applicable : ACC220 Law of Business Associations Assessment Task - Written Hypothetical Assignment. what penalties or remedies might be applicable
Explain possible effects of unmonitored television viewing : With respect to the development of the young brain, explain possible effects of unmonitored television viewing.
How to explain the factors that account for discrepancies : How to explain the factors that account for discrepancies between who uses illegal drugs and who is most likely to be arrested for drug abuse violations?
What is the senses through play send signals to the brain : What is the senses through play send signals to the brain. Also please explain senses ability to identify objects that children use for the world they live
Describe a function that would accept seven values : Describe a function that would accept 7 values from the function call and determine the minimum and maximum of those 7 values.
Negative influences of the stereotypes : There are negative influences of the stereotypes by a child school teacher regarding a child's gender, but what about their very own parents?
What are some of the specific ways in which parents beliefs : What are some of the specific ways in which parents beliefs about their children's abilities could influence their children's actual abilities?
What the program does are in comments at the beginning : The method is passed a list of comma separated last names (lastNamelList) as well as a name for which this list should be searched (searchForMe).
Determining the death and afterlife presence : It could be argued that to understand both death and afterlife presence, one must first be mindful of physical presence in the world.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Generating the crow’s foot erd

Provided the following business scenario, generate a Crow’s Foot ERD utilizing a specialization hierarchy if suitable. Tiny Hospital keeps the information on patients and the hospital rooms.

  How to create an encryption absolutely unbreakable

How to create an encryption absolutely unbreakable

  How standards are intended to create unity

standard issued by either the International Telecommunication Union.It was also stated that "Although standards are intended to create unity, they can have the opposite effect".

  Create a 10-integer array called data

Prepare a C++ program to - Create a 10-integer array called data

  Design and develop a program that creates a complete set

Design and develop a program that creates complete set of multiplication tables where both the multiplicand and the multiplier vary from 1 through 12. The table should display as 144 rows in the list view control.

  What are the criteria by which address decoders are judged

What does primary address range mean when it is applied to a system using partial address decoding?

  The purposes of backup and recovery and business continuity

What steps would you take to "stratify and prioritize" information for the purposes of backup and recovery, and business continuity?

  Examine a copy of a manual for a software program

Examine a copy of a manual for a software program such as a word processor, spreadsheet, or database, or examine a help system for a program you use regularly.

  How could one improve such protocol

Considering the performance of a communincation protocol design, how may the number of messages have potentially the largerst impact as compared to the total amount of data.

  How the languages background has influenced the language

The languages used as examples in this chapter originated in quite different ways. Speculate how the language's background has influenced the language.

  How the "right" database design can rarely be decided

The "right" database design can rarely be decided on the basis of normalization principle alone. Do you agree or disagree? explain.

  Create program to read the lengths of the two legs

Write down a program to read the lengths of the two legs of a right triangle and to calculate and display the area of the triangle (one-half the product of the legs) and the length of the hypotenuse (square root of the sum of the square of the leg..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd