Question: The purpose of this assignment is to write a JAVA program that uses variables, arithmetic calculation and takes input and produces output. Instructions 1. Your

 The purpose of this assignment is to write a JAVA program

The purpose of this assignment is to write a JAVA program that uses variables, arithmetic calculation and takes input and produces output. Instructions 1. Your paint business is doing great. But you have a hard time keeping track of your customers on notebooks and doing calculations by hand or a calculator. You want to automate the process. You realize that you have been going to this awesome CSE 174 class and where you have learnt some Java. You have this contract to paint a four-wall room with equal length, height and width. You charge $20 per square meter of painting you do. There is a flat tax of 3% on the total cost. So now, you will write a Java program that would be capable of following operations: A. Asks the customer for his/her first and last name B. Asks the customer for length, width, or height, and then calculates the surface area to be painted (should be formatted to 2 decimal places) C. Calculates the cost of painting (should be formatted to 2 decimal places) D. Tell the user about the number of dollars, quarters, dimes, nickels, and pennies are there in the total cost. E. Prints the customer ID (For e.g. customer ID Deepak Dawar is DEAR : DE comes from first 2 character of first name, and AR comes from last two character of last name) F. Prints a transaction Id as Initials-007-MiamiUniqueld (For e.g. if the customer is Deepak Dawar, the transaction id is DD-007-daward)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!