+ 3
Question??? Write a pseudocode that finds the greatest of 3 numbers
3 Answers
+ 8
Good point @Jafca
+ 7
@Hatsy Rei What if they're negative?
Assign first input into max?
+ 6
BEGIN
declare variables a, b, c, max.
initialize max to 0.
prompt user to input first number into variable a
prompt user to input second number into variable b
prompt user to input third number into variable C
IF a is greater than max, assign a to max
IF b is greater than max, assign b to max
IF c is greater than max, assign c to max
print max.
END