Highest Common Factor Algorithm Flowchart
Use immediately

Highest Common Factor Algorithm Flowchart

Start

Read Variables a and b

is a=b?

Is a > b?

b=b-a

a = a-b

End

Print

YES

NO

YES

NO

Determine the Highest Common Factor (HCF) of two integers

27
0
0
publish time: 2021-09-27
Ashley

Step 1: Read the variables a and b. Step 2: If a = b, go to step 4. Step 3: If a > b, then: a = a - b. Return to step 2. Step 4: Print a or b.

See More Related Templates