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 07:00
Robots with telescoping arms are sometimes used to perform tasks (e.g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
The two main ways in which marketers address the competition with their strategies are by satisfying a need better than a competition and by
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
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
question
Mathematics, 21.04.2020 17:25
question
Medicine, 21.04.2020 17:26
Questions on the website: 13722362