subject

Assignment: Construct a flowchart and then write a C++ program that will: ask the user to enter five (5) test scores
if any of the scores are less than zero (<0) or greater than 100 (>100), print an error message and exit the program
calculate the average of the five test scores
report the data entered by the user
report the average (rounded to two decimal places)
use cout << fixed << setprecision (2)
report the letter grade that should be assigned using the following scale
Additional Requirements:
The output from your program should be reported to both the screen (cout) and an output file names "Practicum1.txt".
Attach you flowchart to this document.
I need both of the flowchart and the c++ program for this assignment, the flowchart would better be hand written. The important thing is: how to end the program automatically if the input is under the condition of (score < 0 or > 100).

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:00, breella0
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
image
Computers and Technology, 22.06.2019 15:10, AleciaCassidy
Consider a direct-mapped cache with 216 words in main memory. the cache has 16 blocks of 8 words each. it is a word-addressable computer (rather than a byte-addressable computer which we normally discuss). (a) how many blocks of main memory are there? (b) what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, cache block, and block offset fields (if they apply)? (c) to which cache block will the memory reference db6316 map?
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, tchloe448
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
image
Computers and Technology, 24.06.2019 03:40, Eylul30
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i. e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
You know the right answer?
Assignment: Construct a flowchart and then write a C++ program that will: ask the user to enter fiv...

Questions in other subjects:

Konu
English, 05.12.2020 21:00
Konu
English, 05.12.2020 21:00
Konu
Arts, 05.12.2020 21:00
Konu
Mathematics, 05.12.2020 21:00