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, 22.06.2019 06:30
Plz 40 points what are raster vectors? a bitmap image a vector file a type of printing press a small projector
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
Your business be in google top rank.more the rank more the business leads.for best seo and digital marketing services be confident to contact you can get best seo solutions by assistance experts provide digital marketing, website development, seo expert services and social media internet seo expert services your branding solutions. seo expert services ,best seo expert services,online seo expert services,
Answers: 3
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
What are the different components of the cloud architecture?
Answers: 2
You know the right answer?
IGCSE Pseudocode

Design an algorithm that asks the user for 15 numbers. The algorithm sho...
Questions
question
Mathematics, 30.07.2019 03:00
question
English, 30.07.2019 03:00
Questions on the website: 13722363