The pseudocode to calculate the average of the test scores until the user enters a negative input serves as a prototype of the actual program
<h3>The errors in the pseudocode</h3>
The errors in the pseudocode include:
- Inclusion of unusable segments
- Incorrect variables
- Incorrect loops
<h3>The correct pseudocode</h3>
The correct pseudocode where all errors are corrected and the unusable segments are removed is as follows:
start
Declarations
num test1
num test2
num test3
num average
output "Enter score for test 1 or a negative number to quit"
input test1
while test1 >= 0
output "Enter score for test 2"
input test2
output "Enter score for test 3"
input test3
average = (test1 + test2 + test3) / 3
output "Average is ", average
output "Enter score for test 1 or a negative number to quit"
input test1
endwhile
output "End of program"
stop
Read more about pseudocodes at:
brainly.com/question/11623795
Answer:
A microprocessor is a computer processor where the data processing logic and control is included on a single integrated circuit. A computer need microprocessors to perform the functions of a computer's central processing unit.
Answer:
Midi Synthesizer, Mic,Boom Mic, Laptop
Explanation:
At the end of the day a keyboard and a pc is all you need as the keyboard alone can cover nearly any instrument.
Answer:
Answer in the below
Explanation:
Redo means the previous one and undo means removing it... i am not so sure..
One gallon is 3.7854 liter so 4 liters are more than one gallon.