17. Technique
Rule Based
c = Clock ;
Rule 1 :
if (c ”07:30”) {
then “Food Intake For Diet.
Good Morning :) Your Breakfast is waiting … "; }
Rule 2 :
else if (c ”13:00”) {
then “Food Intake For Diet.
Good Evening :) Your Lunch is waiting … "; }
Rule 3 :
else if (c “20:00”) {
then “Food Intake For Diet.
Good Night :) Your Dinner is waiting … "; }