What is the output from main (below) after the following function is called. void calculateCost(int count, double& subTotal,
double& taxCost) // definition { if ( count < 10) subTotal = count * 0.50; else subTotal = count * 0.20; taxCost = 0.1 * subTotal; } int main() { double tax = 0.0, subTotal = 0.0; calculateCost(15, subTotal, tax); // function call cout << "The cost for 15 items is " << subTotal << ", and the tax for "<< subTotal << " is " << tax << endl; return 0; }
1 answer:
You might be interested in
Electrical pressure is also known as voltage.
I hope this helps you! :-)
<span>Define additional characteristics such as font weight or style for an html tag:
- attributes</span>
I believe the answer is false.
I Hope this helps! :)
If you don't understand plz message me
If you do plz brainlest
Thank you!
making a selection in the Save in: box.<span>
</span>
Answer:
my dog chewed up the couch
Explanation: