You are on page 1of 1

Trace table of the following Algorithm

Steps a b c output
1 10
2 10 15
3 10 15 5
4 25 15 5
5 25 50 5
6 25 50 30
7 25 50 30 a=25
b=50
c=30

Output of the following Algorithm


P 0

q 20

You might also like