Question:

Draw a flowchart...

by  |  earlier

0 LIKES UnLike

Given the following pseudocode, draw a complete flowchart:

total = 0

do {

Read saving

total = total saving

Read whether to continue

} while (continue =='y')

Display total saved

This is what I had in mind:

1) Draw a box with the 'start' in it.

2) Draw a parallelogram with 'total=0' in it.

3) Draw a rectangle with 'Read saving, total = total saving, and read whether to continue' in it.

Then I was stucked. I think there are mistakes in the 3 points above... =="

 Tags:

   Report

1 ANSWERS


  1. 1. Draw an oval with the word 'Start' in it

    2. Draw a rectangle with "total = 0" in it

    3. Draw three rectangles with the contents of the next three lines in them

    4. Draw a diamond with "Continue == y" in it

    5. Draw two arrows coming out of the diamond.

    5A. One arrow, labeled "True" loops back and connects to the arrow connecting Steps 2 and 3

    5B. One arrow, labeled "False" connects to Step 6

    6. Draw a rectangle with "Display total saved" in it

    7. Draw an oval with "End" in it

You're reading: Draw a flowchart...

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions