Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

DAZO, FRANCISCO BIT CT 2D-4 SEPT.

5, 2019
start

Int X, Y, Z Write a flowchart that would input 3 integers and


determine what is the highest and the lowest?

Input X, Y, Z

T T
F F
Y>Z X>Y X>Z

T T F T
Y<X Y<Z
T F
X<Z X<Y
F F
F
Print “Z is the highest Print “Y is the highest Print “Z is the highest
T
Print “X is the highest
and X is the lowest” and Z is the lowest” and Y is the lowest” and Z is the lowest”

Print “Z is the highest Print “Y is the highest Print “Z is the highest Print “X is the highest
and Y is the lowest” and X is the lowest” and X is the lowest” and Y is the lowest”

end

You might also like