Your task is to create a program that could be used to calculate the cost of purchasing several items. Your program should include the ability for a user to indicate the number of each item that they would like to purchase. a “Calculate Cost” button that will calculate the subtotal of the purchases. the taxes on the purchases (taxes at a rate of 13%). the grand total of the purchases. a well-designed GUI that is easy to use. appropriately named components. commenting and appropriate spacing. values that are rounded and formatted to two decimal places. constants for all variables that will not change as the program is run.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 2CP: In Chapter 2, you created an interactive application named MarshallsRevenue, and in Chapter 3 you...
icon
Related questions
Question

Your task is to create a program that could be used to calculate the cost of purchasing several items.

Your program should include

  • the ability for a user to indicate the number of each item that they would like to purchase.
  • a “Calculate Cost” button that will calculate
    • the subtotal of the purchases.
    • the taxes on the purchases (taxes at a rate of 13%).
    • the grand total of the purchases.
  • a well-designed GUI that is easy to use.
  • appropriately named components.
  • commenting and appropriate spacing.
  • values that are rounded and formatted to two decimal places.
  • constants for all variables that will not change as the program is run.

Please complete this using Java or JavaFX whereever relavant. Thank you very much!

Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage