Question: ( 1 ) if n < m then return 0 , n ( 2 ) let q : = 0 ( 4 ) let r
if
n
m
then return
n
let
q
:
let
r
:
n
repeat
a let
r
:
r
m
b let
q
:
q
until
r
m
return
q
r
What does the algorithm return when the input is
n
:
and
m
:
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
