Algorithm below shows the Greatest Common Divisor (GCD) algorithm to compute GCD, gcd, by given two integer values, p and q. Based on your understanding of the algorithm , draw the equivalent flowchart.
GCD computation algorithm:
While (p # q) If p 4q then q=q - p else if p > q then
p =p-q
end if end while
gcd = p
[10 marks]