Computers and Technology

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

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:00, SuperWoman9172
What is one of the main problems that can occur when implementing a large number of new systems within an organization?
Answers: 1
image
Computers and Technology, 22.06.2019 06:00, Treezy11
In outlook how can cherie look at the details of an event that appears on the month view of her calendar? check all that apply. by switching to the detail view by switching to the week view by switching to the day view by right-clicking on the event by double-clicking on the event by highlighting the event
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, jroy1973
Awide variety of “ apps “ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
image
Computers and Technology, 22.06.2019 23:30, ansonhunter8891
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
Do you know the correct answer?
IGCSE Pseudocode

Design an algorithm that asks the user for 15 numbers. The algorithm sho...

Questions in other subjects:

Konu
Physics, 01.11.2019 14:31
Konu
Mathematics, 01.11.2019 14:31