Exercises Write pseudocode, flowchart and C program to: 1. calculate the average of three numbers 2.print your name and your address 3. input and print a list of any 3 numbers 4. find and display the sum of 5 numbers 5. calculate and print the product and difference of 2 numbers 6. calculate and print the sum and the product of 3 numbers
Added by Bananeza A.
Close
Step 1
Calculate the average of three numbers: Pseudocode: ``` START INPUT num1, num2, num3 SET average = (num1 + num2 + num3) / 3 PRINT average END ``` Flowchart: ``` Start --> Input num1, num2, num3 --> Calculate average --> Print average --> End ``` C Show more…
Show all steps
Your feedback will help us improve your experience
Patricia Holmes and 98 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
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.
Write a C++ program to count the sum of integers which are divisible by 3 or 5. You should prompt the user to insert an integer which indicates the range of numbers from 1.
John B.
write a c++ program to obtain the sum of three numbers
Haricharan G.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD