subject

The american red cross wants you to write a program that will calculate the average pints of blood donated during a blood drive. the program should take in the number of pints donated during the drive, up to twenty-four hour drive period, from an input file, blooddrive. txt. the average pints, highest pints, and lowest pints donated during that period should be calculated and written to a file called bloodresults. txt. we will only run the program once so a yes/no loop is not needed.

step 1: note that the gethigh, getlow, and getaverage functions do not change. we need to modify modules getpints and displayinfo to meet the new requirements. complete the pseudocode below for the two modules according to instructions:

in the getpints module (notice there is a new pass-by-reference parameter count)

declare an input file with the name bloodinfile.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
You know the right answer?
The american red cross wants you to write a program that will calculate the average pints of blood d...
Questions
Questions on the website: 13722361