Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the solution to this problem in Java format, thank you! 3 Assignment We are going to write a program that someone who paints

image text in transcribed
I need the solution to this problem in Java format, thank you!
3 Assignment We are going to write a program that someone who paints the outsides of buildings can use to prepare cost estimates for potential customs. To do so, complete each of the steps below: 1. (5 points) Create a new class named ReportGenerator in the Lab04 project. 2. (5 points) (not autograded) Create class constants for the following values: . The area that can be painted from one can of paint, which is 400 square feet. . The cost of a can of paint, which is $43.50. . The area that an experienced person can paint in an hour, which is 200 square feet What we charge for each hour of labor, which is $50.00. 3. (15 points) You may have noticed that some websites that require you to type in a street address will automatically adjust the address that you enter into some standard format. We are going to do something similar, write a method named tandardizeAddress. It has one formal parameter, which is a String containing an address. It should return a standardized version of the address. Standardization inludes the following steps: . All lowercase letters should be converted to uppercase. . The wordROAD" (with a space in front) should be replaced by the abbreviation RD (including the space). . The word "STREET" should be replaced by the abbreviationST" . The word LANE" should be replaced by the abbreviation LN Name CSCIIG1-(o01,02,03) -Lab 04 Page 2 . The word AVENUE" should be replaced by the abbreviation AVE . The word COURT" should be replaced by the abbreviation CT" You should create a main method that you can use for temporary testing. At the end of the assignmen, y in main with specific contnts. AutoLab will te method with many different parameters, and give you no credit until it does the correct thing with all of them

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

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago