Goals: To make use of the logical operators in a program
Overview: NASA has realized that the operator who is responsible for pushing the final green button to launch the shuttle has too many things to verify before the launch. They are looking at using some technology to solve this problem. You have been contracted to write a simple program that will print true if certain conditions have been met and the shuttle can be launched, or false otherwise. This program will be embedded in a device that will disable the big green button if the conditions are not right for the launch, thus scrubbing the mission.
The launch button should be enabled (your program should print true) if:
Variables needed: Please use the following variables and give them appropriate initial values:
What to do: Write a complete application named
What to submit: Show me your program when completed. I will check your program by choosing other initial values.© Daubenmier/Ehrenfried 2005-2011