Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, please help with assignment. It is Java programming. Note - I would like this broken down: data type class and driver class. Please see

Hello, please help with assignment. It is Java programming. Note - I would like this broken down: data type class and driver class. Please see below.

image text in transcribedimage text in transcribedimage text in transcribed

A. All the methods to calculate the area of shapes should be static members of a class. The main() shoul access these static method from driver class B. Provide the application for the company Art Carpet Installation that helps the employees of the company to calculate quote of a carpet installation project Each project can include several shapes. Provide the following list of shapes and allow users to type a number to select a shape CARPET INSTALLATION 1. Sqare 2. Rectangle 3. Triangle Circle 5. Trapezoid 6. Rhombus 7. Kite 8. Parallelogram 0. DONE For each shape, you should display the message and read the information enough to calculate the area of the selected shape. The program should allow users to continue to add more shapes to the quote until users select to DONE After calculating the area of all rooms, calculate the total of the area of all selected shapes then calculate all the cost and display the quote in the following format: ART CARPET COMPANY THE QUOTE OF THE PROJECT: 123 Walnut Road Dallas TX 75243 RECTANGLE- Length = 20.56 Width = 8.42 SQUARE- Side 12.5 TRIANGLE-base 4.6 Height 2.3 CIRCLE-Radius-3.4 Sum of area (square feet) 173.12 156.25 5.29 36.32 70.97 Carpet Cost ($2.5 per square feet) Labor ($60 per 50 square feet) Subtotal Tax (8.25%) Total charge 927.43 45.17 1372.60 113.24 1485.84 Hint: Formula to calculate the cost Carpet cost area $ 2.5 per square foot Material 10% carpet cost Labor (area/50) 60 Subtotal carpet cost + labor Tax Total subtotal * 8.5% subtotal +tax the carpet cost with the carpet unit price is $2.79/square feet The labor cost will be calculated: $37.5/per 100 square feet The tax will be: 8.25% on both the carpet cost and the labor cost A. All the methods to calculate the area of shapes should be static members of a class. The main() shoul access these static method from driver class B. Provide the application for the company Art Carpet Installation that helps the employees of the company to calculate quote of a carpet installation project Each project can include several shapes. Provide the following list of shapes and allow users to type a number to select a shape CARPET INSTALLATION 1. Sqare 2. Rectangle 3. Triangle Circle 5. Trapezoid 6. Rhombus 7. Kite 8. Parallelogram 0. DONE For each shape, you should display the message and read the information enough to calculate the area of the selected shape. The program should allow users to continue to add more shapes to the quote until users select to DONE After calculating the area of all rooms, calculate the total of the area of all selected shapes then calculate all the cost and display the quote in the following format: ART CARPET COMPANY THE QUOTE OF THE PROJECT: 123 Walnut Road Dallas TX 75243 RECTANGLE- Length = 20.56 Width = 8.42 SQUARE- Side 12.5 TRIANGLE-base 4.6 Height 2.3 CIRCLE-Radius-3.4 Sum of area (square feet) 173.12 156.25 5.29 36.32 70.97 Carpet Cost ($2.5 per square feet) Labor ($60 per 50 square feet) Subtotal Tax (8.25%) Total charge 927.43 45.17 1372.60 113.24 1485.84 Hint: Formula to calculate the cost Carpet cost area $ 2.5 per square foot Material 10% carpet cost Labor (area/50) 60 Subtotal carpet cost + labor Tax Total subtotal * 8.5% subtotal +tax the carpet cost with the carpet unit price is $2.79/square feet The labor cost will be calculated: $37.5/per 100 square feet The tax will be: 8.25% on both the carpet cost and the labor cost

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

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions