Explore BrainMass

Westfield Carpet Company

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

Use C++ to write a program:
The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the price, you multiply the area of the floor(width times length) by the price per square foot of carpet. For example, the area of floor that is 12 feet long and 10 feet wide is 120 square feet. To cover that floor with carpet that costs $8 per square foot would cost $960 (12x10x8=960).

See more details in attachment file.
P/S: Use C++ only.

© BrainMass Inc. brainmass.com March 21, 2019, 4:19 pm ad1c9bdddf


Solution Summary

Westfield Carpet Company write a c++ program to determine the price of carpeting for rectangular rooms. Different classes are used to display the final product being the total cost of carpeting