subject

IGCSE Pseudocode

Design an algorithm that asks the user for 15 numbers. The algorithm should work out the total and average of all of the values entered that are in the range of 1-10, then output the number of values in the range, the total and the average.

Write the algorithm as pseudocode and a flowchart.

Eg: If you enter the following data (5, 10, -2, 9, 1, 2, 3, 14, 1, -6, 4, 15, 1, 0, 4) the output should be

Number of values = 10

Total = 40

Average = 4

Draw a trace table and show it works for the following test data:

3, 9, 12, -9, 4, 20, 1, 4, -1, 6, 0, 3, 11, 7, 7

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
You know the right answer?
IGCSE Pseudocode

Design an algorithm that asks the user for 15 numbers. The algorithm sho...
Questions
question
History, 04.06.2020 14:58
Questions on the website: 13722360