In: Computer Science
in coral write a program whose inputs are three integers, and whose output is the largest of the three values.
Ex: If the input is 7 15 3, the output is:
15
integer x
integer y
integer z
integer max
x = Get next input
y = Get next input
z = Get next input
if x >= y and x>=z
max = x
elseif y >= x and y>=z
max = y
elseif z >= z and z>=y
max = z
Put max to output