Question

allpaint in java

AllPaint is a shop that specialises in household paint products. They have approached you, an application developer for your services. They want you to develop an application that they will use in their shop to estimate the amount of paint that customers would need to purchase when they supply dimensions of their houses. Furthermore, they want you to integrate this system with their point of sale system, which would enable them to process paint sales. To process a sale, the system must calculate the amount of value added tax (VAT) and also calculate the amount of change after a customer tenders an amount. To develop this application, you will work on the following rules:

 A house is a three-dimensional structure (the dimensions are length, width and height)

 Two opposite walls are always equal

 A tin of paint covers about 10 square metres of wall space (doors and windows are not put into consideration).

6 HPX100-1-SA1-Jul-Dec2020-CZ-V2-27052020

Create an application using Java that prompts the user for the length, width and height of a rectangular room. Pass these THREE parameters to a method that does the following:

 calculate the wall area for the room and displays it inside a label when a button is clicked.

 passes the calculated wall area to another method that calculates and returns the number of tins of paint needed.

 displays the number of tins needed in a label. This must happen at the click of a button.

 compute the price of the paint given that a tin of paint costs R30 assuming that any fraction of paint is bought at the full price of a tin. The total cost of the paint should be displayed in a label when a button is clicked.

 The system (application) should calculate and display the amount of Value Added Tax (VAT) charged at a rate of 15% and the Total Cost of the paint after Value Added Tax should be displayed.

 Lastly the application should capture the amount tendered to the cashier and calculate and display the change.

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
allpaint in java
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Visual Basic You are asked to develop a Visual Basic Net application that can determine roots...

    Visual Basic You are asked to develop a Visual Basic Net application that can determine roots of a requirements of this project are as follows: 1) Design a form to allow users to define a quadratic equation and to find the roots of the equation. The form should have a label that shows this message: Solving a quadratic equation ax2+bx+c=0 The form should have three textboxes in which users enter the values of a, b, and c The form should...

  • Write a C# code for a Sales Calculator: Note: You cannot use the foreach loop in any part of this...

    Write a C# code for a Sales Calculator: Note: You cannot use the foreach loop in any part of this program! sales.txt file: 1189.55, 1207.00, 1348.27, 1456.88, 1198.34, 1128.55, 1172.37, 1498.55, 1163.29 The application should have controls described as follows: • A button that reads Get Sales. If the user clicks this button, the application should call a method named ProcesSalesFile. ProcessSalesFile Method: accepts no arguments and does not return anything The ProcessSalesFile Method will do the following: o Open...

  • Write a C# code for a Sales Calculator: Note: You cannot use the foreach loop in...

    Write a C# code for a Sales Calculator: Note: You cannot use the foreach loop in any part of this program! sales.txt file: 1189.55, 1207.00, 1348.27, 1456.88, 1198.34, 1128.55, 1172.37, 1498.55, 1163.29 The application should have controls described as follows: • A button that reads Get Sales. If the user clicks this button, the application should call a method named ProcesSalesFile. ProcessSalesFile Method: accepts no arguments and does not return anything The ProcessSalesFile Method will do the following: o Open...

  • C++, please make it as simple as possible. A Paint Company is hiring you to develop...

    C++, please make it as simple as possible. A Paint Company is hiring you to develop an application to estimate the costs for a job. They have determined that for every 120 square feet of wall area, one gallon of paint and eight hours of labor is required. The company charges US$ 18.00 per hour for labor. Write a modular program that allows the user to enter the number of rooms that are to be painted and the price of...

  • Can you solve this proble by using C# application? C# is one of programming languages supported...

    Can you solve this proble by using C# application? C# is one of programming languages supported by Visual Studio 2015. It combines the features of Java and C ++ and is suitbale for rapid application development. A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4% and the county sales tax rate is 2%. Create an...

  • Edit question 1. Write an application with three labeled text fields, one each for the initial...

    Edit question 1. Write an application with three labeled text fields, one each for the initial amount of a savings account, the annual interest rate, and the number of years. Add a button “Calculate” and a read-only text area to display the balance of the savings account after the end of each year. You can create a text area with: private JTextArea balanceArea; and initialize it with: balanceArea = new JTextArea(20, 20);    <-- 20, 20 is the height, width You...

  • Android Studio (Java) Develop an android app that contains two fragments displayed on one activity. The...

    Android Studio (Java) Develop an android app that contains two fragments displayed on one activity. The bottom fragment contains / displays several rows of individual buttons and each of these buttons resemble a letter of the alphabet such as the first button "A" second button "B" etc.. all the way to Z as well as buttons for the numbers 0 - 9. Once a user clicks a button, the corresponding letter or number button they pressed should display in the...

  • Project overview: Create a java graphics program that displays an order menu and bill from a...

    Project overview: Create a java graphics program that displays an order menu and bill from a Sandwich shop, or any other establishment you prefer. In this program the design is left up to the programmer however good object oriented design is required. Below are two images that should be used to assist in development of your program. Items are selected on the Order Calculator and the Message window that displays the Subtotal, Tax and Total is displayed when the Calculate...

  • A painting company has determined that to paint 115 square feet of wall space, the task...

    A painting company has determined that to paint 115 square feet of wall space, the task will require one gallon of paint and 8 hours of labor. The company charges $20.00 per hour for labor. Design a modular program that asks the user to enter the number of square feet of wall space to be painted and the price of paint per gallon. The program should then calculate and display the following data: The number of gallons of paint required...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT