555365 iLab 1 of 6 Input calculations output console
N/A
进行中
已发布大约 12 年前
N/A
货到付款
You have done this lab for someone as I see. I have done half of the project can't do the part where it calculates time of installation and on wards. Can you please help!
You will need to set up constants in your program for the following: number of square feet per square yard (9), inches per foot (12), price per square yard of saxony carpet (15.62) , price per square yard of cabel carpet (20.91) , price per square yard of plush carpet (25.17) , price per square yard of velvet carpet (32.36), installation fixed cost (50.00), installation cost per square yard (2.25), time to install 1 square yard of carpet (15 minutes), and the number of minutes in an 8 hour work day and the number of minutes in an hour.
Here is how you declare a constant in Java.
final double PAY_RATE = 46.98;
Perform all the calculations. Round the square yards to the nearest whole number. The installation cost is the installation fixed cost plus the installation cost per square yard times the number of square yards. Calculation of days hours and minutes: if you have 10000 minutes, days = 10000 / 480. Remaining minutes = 10000 % 480. Hours = remaining minutes / 60. Minutes = remaining minutes % 60.
Display the results. You will need to convert the double numbers to a string using [login to view URL](). Round all the costs to 2 decimal places mathematically.