Boolean Expressions

This chapter introduces relational and logical operators. It also discusses the use of these operators to write Boolean expressions.

2. Both Items Needed


No. You have enough sugar, but not enough flour, so you can't follow the recipe.

Both Items Needed

The question about whether you have enough ingredients has two parts:

You need at least 4 cups of flour    AND    You need at least 2 cups of sugar

Since you do not have enough flour, you don't have enough ingredients. (:<)

Question 2:

What if you had 9 cups of flour and 1 cup of sugar. Now could you follow the recipe?