subject

An algorithm has been written in pseudocode to input 50 numbers and output the sum. a. Find the error(s) in the pseudocode and suggest a correction.
b. Change the corrected pseudocode that you suggested in the solution above such that it doesn’t allow the user to enter any negative numbers. If a negative number is entered it should display an error message as well as ask for input again.
c. Dry run the solution you suggested in part b above and create a trace table for it. You may choose test data of your choice. (It should contain both positive and negative numbers)
d. Convert the solution you suggested in part b to its equivalent flowchart.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
What is added to the < meta > tag to describe the encoding type?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
The following is an excerpt from a slide presentation. today we will inverse operations solving equations using inverse operations solving inequalities using inverse operations from which part of the presentation does the slide most likely come from? a. introduction b. outline c. body d. conclusion
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Nathan wants to create multiple worksheet containing common formatting styles for his team members. which file extension him to save these worksheets? nathan to create multiple worksheets with common styles. he needs to save them with the extension.
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
You know the right answer?
An algorithm has been written in pseudocode to input 50 numbers and output the sum. a. Find the err...
Questions
question
Social Studies, 09.07.2019 04:00
question
Mathematics, 09.07.2019 04:00
Questions on the website: 13722367