Answer:
The method in C++ is as follows:
double calcPyramidVolume(double baseLength, double baseWidth, double pyramidHeight){
double baseArea = calcBaseArea(baseLength, baseWidth);
double volume = baseArea * pyramidHeight;
return volume;
}
Explanation:
This defines the calcPyramidVolume method
double calcPyramidVolume(double baseLength, double baseWidth, double pyramidHeight){
This calls the calcBaseArea method to calculate the base area of the pyramid
double baseArea = calcBaseArea(baseLength, baseWidth);
This calculates the volume
double volume = baseArea * pyramidHeight;
This returns the volume
return volume;
}
<em>See attachment for complete program that include all methods that is required for the program to function.</em>
B) a desktop is less likely to be stolen or damaged
Answer:
Following is attached the solution of each part step-by-step. I hope it will help you!
Explanation:
<u>Automatic Draft-</u> A convenient payment method where funds are automatically debited from your account.
<u>Cash-</u> The physical form of currency.
<u>Credit Card-</u> Allows you to make a purchase and pay for it later.
<u>Digital Wallet-</u> An electronic device that aids consumers to make online payments through various websites.
For anyone still looking, hope this helps.