Flow Charts

A flow chart presents a series of instruction s to implement an algorithm in graphical form. A flow chart contains three types of boxes:

The boxes are connected with arrows to point the way through the flowchart. Decision boxes may ask a question, which require a yes or no answer. One of the answers may lead to an earlier part of the table, and in this way certain instructions may be repeatedly carried out – this is a loop. A flowchart can be accompanied by a trace table which shows the results of each step. The following flow chart finds all the factors of a number.

Output

1

10

1

No

2

5

2

No

3

10/3


No

4

5/2


No

5

2

5

No

6

5/3


No

7

10/7


No

8

5/4


No

9

10/9


No

10

1

1

Yes