Question: Consider the following code snippet. If num _ a is 2 4 and num _ b is 7 2 , then the output will be
Consider the following code snippet. If numa is and numb is then the output will be
numa intinputEnter first positive integer:
numb intinputEnter second positive integer:
while numa numb:
if numb numa:
numb numb numa
else:
numa numa numb
printGCD is d numa
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
