5. กฎ (Rule)
Rule 1
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Red
THEN
Watermelonjuice
Rule 2
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? White
THEN
Coconutjuice
Rule 3
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Orange
THEN
Orangejuice
6. Rule 4
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Yellow
THEN
Banana juice
Rule 5
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Purple
THEN
Grapejuice
Rule 6
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Red
THEN
Strawberryjuice
7. Rule 7
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? White
THEN
Lemonjuice
Rule 8
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Yellow
THEN
Pineapplejuice
Rule 9
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Green
THEN
Kiwi juice
8. Rule 10
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Purple
THEN
Blueberryjuice
Rule 11
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Bitter
AND What coloris it? Green
THEN
Charantia
Rule 12
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Yellow
THEN
Pumpkin
9. Rule 13
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Green
THEN
Cucumber
Rule 14
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Orange
THEN
Carrot
Rule 15
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Red
THEN
Tomato
10. Rule 16
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Brown
THEN
Tamarind
Rule 17
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Bitter
AND What colorisit? Green
THEN
Centellaasiatica
Rule 18
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Bitter
AND What colorisit? Yellow
THEN
Andrographispaniculata
11. Rule 19
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Red
THEN
Roselle
Rule 20
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Blue
THEN
Butterfly pea
Rule 21
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Green
THEN
Pandan
12. Rule 22
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Yellow
THEN
Ginger