Rearrange the below algorithm for finding the Maximum of Three Number Input: Three numbers a, b, and o Output: x, the largest Number procedure max(a, b, c) if b>x then end max return(x) if ex then x = 6
Answers
Answered by
8
Answer:
produce max(a, b, c)
x = a
if b>x then
x = b
if c>x then
x = c
return(x)
end max
Similar questions