GATEverse
← GATE CSE 1988

Q6ii

NATMarks unknown

Below figure is the flow-chart corresponding to a program to calculate the gcd⁡\gcd of two integers, MM and NN respectively, (M,N>0).(M, N >0). Use assertions at the cut point C1C_1, C2C_2 and C3C_3 to prove that the flow-chart is correct.

Figure 1

Sign in to save attempts.

Loading…