a) Write pseudocode to input 10 positive numbers and find the total and the average. b) Write pseudocode to input positive numbers, –1 to finish, and find the total and the average. c) Explain why you chose the loop structures for each task
Added by Rhonda M.
Step 1
a) Pseudocode to input 10 positive numbers and find the total and the average: Show more…
Show all steps
Your feedback will help us improve your experience
Shaik Dadasaheb and 52 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write a pseudocode algorithm that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: The lowest number in the array The highest number in the array The total of the numbers in the array The average of the numbers in the array Write only in pseudocode!
Samuel G.
Draw a flowchart and write pseudocode to calculate the sum and average of four numbers. The average is calculated by dividing the sum of all the numbers by the number of input numbers.
Sarvesh S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD