Question: The program asks the customer to choose the model ( Sedan or SUV ) , wheel drive ( Front , Rear, or AllWheel Drive )

The program asks the customer to choose the model (Sedan or SUV), wheel drive (Front, Rear, or AllWheel Drive), and color (White, Blue, or Red). An add-on Tow Hitch ($8,000) is available only for SUVs.
There is no commission or delivery fees. The sales tax rate is 6.25%.
The pricing information is as follows:
Sedan SUV
White Blue Red White Blue Red
Front-Wheel Drive $24,000 $24,500 $25,000 $26,000 $26,500 $27,000
Rear-Wheel Drive $26,000 $26,500 $27,000 $28,000 $28,500 $29,000
All-Wheel Drive $28,000 $28,500 $29,000 $30,000 $30,500 $31,000
In addition to choosing the model options, when checking out, the customer also needs to choose
between the cash purchase (full payment) or short-term leasing option. If the customer chooses the
short-term leasing option, the program asks for the leasing months between 1 to 9 and prints out the (1)
monthly payment (1.5% of the purchasing price) without tax, (2) the total payment (all monthly
payments + tax), and (3) the monthly balance with month, monthly payment, monthly tax, total
payment, and the balance.
If the customer declines the leasing option, the payment type will be the default cash option. The
customer can also apply a $7,500 Federal Tax Credit immediately when placing the order (applied before
adding the tax) if they are eligible. Individuals are eligible for the Federal Tax Credit if they earn less than
or equal to $150,000 annually. The customer needs to select whether they meet this criterion.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!