Examlex

Solved

What Will Be the Value of DiscountRate After the Following

question 24

Multiple Choice

What will be the value of discountRate after the following statements are executed?
double discountRate = 0.0;
Int purchase = 1250;
Char cust = 'N';
If (purchase > 1000)
If (cust == 'Y')
DiscountRate = 0.05;
Else
DiscountRate = 0.04;
Else if (purchase > 750)
If (cust == 'Y')
DiscountRate = 0.04;
Else
DiscountRate = 0.03;
Else
DiscountRate = 0.0;


Definitions:

Supply Curve

A pictorial display indicating how the price of an item affects the quantity of the item sellers are eager to sell.

Cost of Production

The total expenses incurred in the manufacture of a product, including raw materials, labor, and overhead costs.

Quantity Demanded

Quantity demanded refers to the total amount of a good or service consumers are willing to purchase at a specific price point, at a given time.

Quantity Supplied

The total amount of a commodity that producers are willing and able to sell at a given price level, during a specific time period.

Related Questions