A good answer might be:Neither option would be included, because the boolean expressions
test that the user entered exactly "1".
The user might have intended to include the options,
but the program would not give any hint that there was a problem.
A better program would write an error message when it got unexpected input.
|
End of ChapterThat is the end of this chapter. Students who wish to earn their stripes will carefully review the following.
In the next chapter you will see how to have the condition
part of Click here to go back to the main menu. |
| You have reached the End. |