Pseudocode to Find the biggest of three (3) Numbers.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | InputN1, N2, N3 if (N1>N2) then if (N1>N3) then MAX =N1 else MAX =N3 endif else if (N2>N3) then MAX =N2 else MAX=N3 endif endif Print “The largest number is”, MAX |
You may also like: Pseudocode Examples