### Calculates the average of a group of test scores

Assignment Help Basic Computer Science
##### Reference no: EM13529245

Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions:

1. void getScore() should ask the user for a test score, store it in a reference parameter variable, and validate it. This function should be called by main once for each of the five scores to be entered.

2. void calcAverage() should calculate and display the average of the four highest scores. This function should be called just once by main, and should be passed the five scores.

3. int findLowest() should find and return the lowest of the five scores passed to it. It should be called by calcAverage, which uses the function to determine which of the five scores to drop.

Note: Input Validation: Do not accept test scores lower than 0 or higher than 100.

#### Questions Cloud

 Transported by facilitated diffusion : Why does less water need to be removed from a solute that is transported by facilitated diffusion than a solute that is transported by simple diffusion. Obtain the protons speed when it reaches the negative plate : The electric field strength is 40800 N/C inside a parallel-plate capacitor with a 2.2 mm spacing. obtain the proton's speed when it reaches the negative plate Determine the break even point in units of l and m : The sales mix for products L and M is 60% and 40%, respectively. Determine the break even point in units of L and M. How much charge is on each coin : A capacitor is made from two 1.0 cm diameter coins separated by a 0.14 mm thick piece of paper (K = 3.7). How much charge is on each coin Calculates the average of a group of test scores : Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions Estimate a cost formula for shipping expense : Prepare a contribution format income statement for thequarter - estimate a cost formula for shipping expense. Increased ratio of sphingolipids to phospholipids : What would happen to the melting temp of a lipid bilayer if: There was an increased ratio of sphingolipids to phospholipids? There was a decreased ration of phosphatidycholine tophosphatidyethanolamine? Find the normal force that the incline exerts on the block : A horizontal force of 142 N pushes a 11 kg block up a frictionless incline that makes an angle of 44° with the horizontal. find the normal force that the incline exerts on the block Amultistep protein purification protocol : You have completed amultistep protein purification protocol and found that your totalactivity has decreased. Is your purification a failure?

### Write a Review

#### Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

#### Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

#### Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

#### Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

#### Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

#### Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

#### Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

#### Evaluate the cost of materials

Evaluate the cost of materials

#### The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

#### What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

#### Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

#### Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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!