Below figure is the flow-chart corresponding to a program to calculate the gcd…
PYQ GATE 1988
Below figure is the flow-chart corresponding to a program to calculate the gcd of two integers, M and N respectively, (M, N >0). Use assertions at the cut point C₁, C₂ and C₃ to prove that the flow-chart is correct.

Sign up free to check your answer
Sign up freeLoading lesson…

