# C++ programming. i need help in this.plz help me!

• Feb 20th 2013, 04:11 PM
Riana
C++ programming. i need help in this.plz help me!
1. Calculate the cost of building a foundation for a house. The input, the length and width of the house, as well as the depth of the foundation, should be given in meters and the output should be given in CAD. Assume the price of \$150 per cubic meter of concrete.
• Feb 20th 2013, 04:26 PM
HallsofIvy
Re: C++ programming. i need help in this.plz help me!
Presumably, then, the foundation is a "rectangular solid" with the given length, width, and depth. Do you know how to find the volume in cubic meters? Multiply that by \$150 to find the cost. I don't know "CAD" means. "Canadian Dollars"? "Central Australian Dollars"?
• Feb 20th 2013, 04:49 PM
Riana
Re: C++ programming. i need help in this.plz help me!
CAD means canadian dollors. and the cubic meters formula is this right v=l*w*h...?i dont remember i just wanna confirm the formula?
and then i have to mutiply volume by \$150?
• Feb 20th 2013, 06:16 PM
jakncoke
Re: C++ programming. i need help in this.plz help me!
Quote:

Originally Posted by Riana
CAD means canadian dollors. and the cubic meters formula is this right v=l*w*h...?i dont remember i just wanna confirm the formula?
and then i have to mutiply volume by \$150?

yes