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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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