218k views
14 votes
Draw a flow chart to input some numbers and calculate and their total , stop when the total is greater

than 200.
Output the total , average and how many numbers where their total is less than 200.

1 Answer

8 votes

Answer:

See attachment for flowchart

Step-by-step explanation:

Using the attachment as a point of reference:

1. Start

2. sum and count were initialized to 0

3. The flowchart gets input from the user

4. The sum is calculated and the count is updated (by adding 1)

5. Check if sum is greater than 200.

If yes, go to 6, if no go back to 3.

6. Print sum

7. Calculate average

8. Print average and count of numbers

9. Stop

Draw a flow chart to input some numbers and calculate and their total , stop when-example-1
User Rafael Oliveira
by
3.6k points