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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:00, bartlettcs9817
Which location-sharing service offers items for users as a gaming component and also allows them to collectively link their check-ins to publish a trip? a. whrrl b. buzzd c. foursquare (this option is wrong i already tried) d. gowalla for plato
Answers: 2
image
Computers and Technology, 22.06.2019 23:00, nicog94
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
image
Computers and Technology, 23.06.2019 11:30, kieante01
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, ryleerose255
Idon’t understand the double8 coding problem. it is java
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 in other subjects:

Konu
Mathematics, 29.03.2021 19:30