Examlex

Solved

What Is the Output of the Following Function and Function

question 28

Multiple Choice

What is the output of the following function and function call?
Void calculateCostint count, float& subTotal, float taxCost) ;
Float tax = 0.0,
Subtotal = 0.0;
CalculateCost15, subtotal,tax) ;
Cout << "The cost for 15 items is " << subtotal
<< ", and the tax for " << subtotal << " is " << tax << endl;
//end of fragment
Void calculateCostint count, float& subTotal, float taxCost)
{
If count < 10)
{
SubTotal = count * 0.50;
}
Else
{
SubTotal = count * 0.20;
}
TaxCost = 0.1 * subTotal;
}


Definitions:

Transaction Costs

Expenses incurred during the process of buying or selling goods and services, which can include fees, taxes, and other related costs.

Generally Accepted Accounting Practices (GAAP)

A collection of commonly followed accounting rules and standards for financial reporting.

Federal Regulations

Laws established by the federal government to control or govern specific activities, often enforcing standards.

Supply Department

The department within an organization responsible for the procurement and management of goods and services required for its operations.

Related Questions