Question
Homework #2 - Coffee Calculator (VISUAL BASIC) WILL ONLY UPVOTE IF IT MATCHES ALL NEEDS Submit Assignment Download Runtime Task: Create a project to calculate
Homework #2 - Coffee Calculator (VISUAL BASIC) WILL ONLY UPVOTE IF IT MATCHES ALL NEEDS
Submit Assignment Download Runtime
Task:
-
Create a project to calculate the cost of a type of coffee at a restaurant. The user will enter a numeric quantity (must be > 0), choose a type of coffee, select whether it is takeout or not and then click Calculate. The amount of the order will be displayed on screen.
-
The Type of coffee are: Cappuccino $3.50/each, Espresso $3.00/each, Latte $2.25/each, Iced Latte or Iced Cappuccino $2.75/each
If the takeout checkbox is NOT selected, 7.25% sales tax must be applied to the order.
Form:
- Use text boxes for the quantity, radio buttons for the coffee types, checkbox for the takeout field
- Include buttons for Calculate and Exi
Code:
- Include an event procedure for each button.
- Display a message to the user for any bad input data.
For Full Credit:
- Program must be well documented and controls well named according to standards.
- Data must be validated and formatted appropriately
- Constants MUST be used and properly named for the coffee and sales tax rates.
- Results must match Runtime answers (download runtime here) - http://www.condesigns.com/Teaching/CSIS-3726_2019_22772/Homework-2019_22772/2019_Spring_22772_Homework_03
- Calculate and Exit buttons must all be functional
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started