Learn How to Program in Cby Dr. Kristin Switala
|
|
Answers to Review: Conditionals (b)
General Questions
1. tests if two conditions are both true
2. tests if one condition (of two) is true
3. reverses the value of a condition
White Box Testing
1. two errors:
- in line 6, use double ampersand &&
- in line 6, use (born < 1969) instead of >
2. two errors:
- in line 9, use ? instead of !
- in line 10, use double equal signs ==
|
|