Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Lab 3 (8 points) SUBJECT: Calculations, Output Write a program which given the size of three rooms and the cost of carpet will calculate the
Lab 3 (8 points) SUBJECT: Calculations, Output Write a program which given the size of three rooms and the cost of carpet will calculate the cost to carpet all three rooms. Values may be fixed within the program. 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, area's 2 decimal, currency 2 decimal) Analyze problem. Complete worksheet. Have this checked before writing code LAB 34 (2 points) Write a program to calculate the cost to paint a water tower (inside and out). The water tower is a cylnder 15m high with a diameter of 5m The wall and top thickness is 20 cm. The bottom of the tank is 1 ft off the ground. A gallon of paint covers 5 square feet and costs $24.95 Labor costs S5.25 per square foot at or below 6ft and S10 per sq ft above ft Paint inside, outside, top and bottom Program lay out and output(s) should make the algorithm used clear All calculations should be done in the program. Output appropriate intermediate results Answer $79554.43 Lab 3 (8 points) SUBJECT: Calculations, Output Write a program which given the size of three rooms and the cost of carpet will calculate the cost to carpet all three rooms. Values may be fixed within the program. 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, area's 2 decimal, currency 2 decimal) Analyze problem. Complete worksheet. Have this checked before writing code LAB 34 (2 points) Write a program to calculate the cost to paint a water tower (inside and out). The water tower is a cylnder 15m high with a diameter of 5m The wall and top thickness is 20 cm. The bottom of the tank is 1 ft off the ground. A gallon of paint covers 5 square feet and costs $24.95 Labor costs S5.25 per square foot at or below 6ft and S10 per sq ft above ft Paint inside, outside, top and bottom Program lay out and output(s) should make the algorithm used clear All calculations should be done in the program. Output appropriate intermediate results Answer $79554.43
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started