Question: Write a code using MIPS code (without loop or branch) Write a program to calculate the number of gallons of paint needed to paint a

Write a code using MIPS code (without loop or branch)  Write a code using MIPS code (without loop or branch) Write

Write a program to calculate the number of gallons of paint needed to paint a room. Assume that a gallon covers 325 square feet. Assume that you are painting two coats on all four walls. You are painting one coat on the ceiling, using ceiling paint which is a different kind of paint. Remember that if there is any fractional part when calculating the number of gallons you need to round up so you are sure to have enough paint. Input: 1. length of room (in feet) 2. width of room (in feet) 3. height of ceiling (in feet) 4. price of a gallon of wall paint 5. price of a gallon of ceiling paint Output: 1. your name 2. total number of square feet of walls 3. number of gallons of wall paint needed 4. total number of square feet of ceiling 5. number of gallons of ceiling paint needed 6. cost of wall paint 7. cost of ceiling paint 8. total cost

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!