Examlex

Solved

An Application Needs to Calculate a Discount for Customers Who

question 42

Short Answer

An application needs to calculate a discount for customers who are either preferred customers or senior citizens.Preferred customers have a discount code of "P".Senior citizens have a discount code of "S".The discount code is stored in the strCode variable.Write an If clause to calculate a discount for all preferred members and senior citizens using the strCode variable.


Definitions:

February

The second month of the year, often associated with cold weather in the Northern Hemisphere and used as a time period reference in accounting.

Materials Price Variance

The difference between the actual cost of materials and the expected (or standard) cost.

March

The third month of the year in the Gregorian calendar.

Standard Amount

A predetermined benchmark for expenses, revenues, or units produced, used for budgeting and measuring performance.

Related Questions