|
Wyo VB Convenience Store |
|
Write a program to calculate and display the total cost of a customer's purchases at a convenience store. Use text boxes to obtain the user's inputs for gallons of gas, apples, and donuts. Gas costs $3.359 per gallon. Apples are 65 cents each and donuts cost 75 cents each. You must apply sales tax to the purchase of the donuts. The apples and gasoline should not be taxed. When the user clicks a button, the program must display the total cost of purchasing the desired amounts of gas, apples, and donuts in a label. Be sure to concatenate a dollar sign ( $ ) to the total cost of the customer's purchases. Your program must use variables and constants where appropriate, even though this program could be written without using variables. Remember that is very important for your code to be easy-to-understand and easy to upgrade. Provide Clear and Exit buttons and make sure that the focus moves correctly. Name the project Convenience Store. Your program must follow the Coding Standards. You could lose many points for violating the Coding Standards (e.g. poor spacing, incorrect indentation, incorrect prefixes, etc.) Preconditions:
Staple your printouts in the following order:
|