Question: Write a (JAVA )program WITH (PRINTF)which given the size of three rooms and the cost of carpet will calculate the cost to carpet all three

Write a (JAVA )program WITH (PRINTF)which given the size of three rooms and the cost of carpet will calculate the cost to carpet all three rooms. Read values from the keyboard. The output should be in the form of a professional looking quotation and should contain all pertinent information. Appearance of code and output is as important as the java code itself. Algorithm should be as general as possible (i.e. the solution should work for more than one type of house and for people with different preferences).

Output must have (minimum): Company Name and title centered Date right justified Information in column format (one column per room) Output all inputs and intermediate results All numbers formatted (lengths 1 decimal, areas 2 decimal, currency 2 decimal)

Write a (JAVA )program WITH (PRINTF)which given the size of three rooms

USE THIS PICTURE AS AN EXAMPLR FOR decorate THE OUTPUT

Ball Report Name Radius (mm) Volume (cu mm) Surface Area (sq mm) Golf Baseball Basketball 20 37 122 33,510.3 212,174.8 7,606, 206.5 5026.55 17203.36 187037.88

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!