Final answer:
The correct Boolean expression to check if 'money' is equal to 40 and 'age' is over 14 in an if-statement is 'money == 40 && age > 14' (Option A).
Step-by-step explanation:
The student is seeking to construct a Boolean expression for an if-statement to check two conditions: whether the money variable is exactly equal to 40, and the age variable is greater than 14. The correct expression that checks for both of these conditions simultaneously would use the logical AND operator (&&), ensuring that both conditions must be true for the if-statement to execute its code block.
To represent this logic in code, we use the following expression:
money == 40 && age > 14
This checks if the value of money is precisely 40 and the value of age is more than 14. Therefore, the correct option among the provided choices would be:
A) money == 40 && age > 14