Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A shop specialising in household paint products has approached you (an application developer) for your services. They want you to develop an application they will

A shop specialising in household paint products has approached you (an application developer) for your services. They want you to develop an application they will use in their shop to estimate the amount of paint that customers would need to purchase when they supply the dimensions of their houses. To develop this application, you will work on the following assumptions: A house is a three-dimensional structure (the dimensions are length, width and height) A tin of paint covers about 10 square meters of wall space. Required Create an application using Java that prompts the user for a rectangular room\'s length, width, and height. Pass these THREE parameters to a method that does the following: Calculate the room\'s wall area and display 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 paint price 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 on a label when a button is clicked. The system (application) should calculate and display the amount of Value Added Tax charged, 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Android Graphics

Authors: Wallace Jackson

1st Edition

1430257857, 978-1430257851

More Books

Students also viewed these Programming questions