A good answer might be:
The customer must get "true" for both the age test and the credit test.
If both tests are passed, the && combines the two true's into true.
| |
Range TestingA 24 year old customer with $0 credit could not rent a car. The logical expression would look like this:
true AND false is false.
Welter Weight BoxingA "welter weight" boxer must weight between 136 and 147 pounds. A boxer's weight is tested before each fight to be sure that he is within his weight category. Here is a program that checks if a welter weight boxer's weight is within range:
| |
QUESTION 8:Fill the blank so that weight is tested in two ways:
|