A good answer might be:The "opposite" of "<=" is ">" . | |
Several ChoicesOften there are several options that might be included in a major purchase. Each one might be accepted or rejected. Pretend you are buying a new car: You have decided to buy a new sports car. The base price is $20,000. There are two options:Here is an incomplete version. The user is expected to enter "1" to mean true and "0" to mean false. This is not a good way to do this, but the better methods have not yet been covered in these notes.
Notice how the number in totalCost is accumulated: it is initialized in its declaration, then added to in each of the true branches. | |
QUESTION 10:Fill in the two blanks to complete the program. You may wish to copy the program into NotePad and try out your corrections. Click Here after you have answered the question |