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.

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"?

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?

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