Below is the decision table of the program for determining the largest
amongst three numbers in which its input is a triple of positive integers
(x,y, and z) and values are from the interval [1, 300].
Table 1 : Decision Table of largest amongst three numbers :
Conditions R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14
c1: x > = 1? F T T T T T T T T T T T T T
c2: x <= 300? F T T T T T T T T T T T T
c3: y > = 1? F T T T T T T T T T T T
c4: y <= 300? F T T T T T T T T T T
c5: z > = 1? F T T T T T T T T T
c6: z <= 300? F T T T T T T T T
c7: x>y? T T T T F F F F
c8: y>z? T T F F T T F F
c9: z>x? T F T F T F T F
a1 : Invalid
X X X X X X
input
a2 : x is
X X
largest
a3 : y is
X X
largest
a4 : z is
X X
largest
a5 :
X X
Impossible