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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!