{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

examples - Review Problem 0 As you wait for class to start...

Info icon This preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon
0 Review Problem 0 As you wait for class to start, answer the following question: Bob has $500, but owes $300 to Shirley in CA, who’s going to kill him if he doesn’t pay off the money in person in a week. Plane tickets to CA cost $175, while bus tickets cost $75. Based on this, finish off the following statement: If Bob buys a _______ ticket then Bob won’t be killed.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1 Review Problem 1 Describe when the dome/interior light of the car should be on. DriverDoorOpen = true if lefthand door open PassDoorOpen = true if righthand door open LightSwitch = true if light should be on regardless of door state, false if light should be on when a door is open
Image of page 2