DEWEY FLEECEM & HOWE AUTO SALES
Background
The business above sells both new and used vehicles. Car salespersons are paid weekly. Pay consists of a base salary of $150 plus extra pay incentives to encourage sales. New cars earn $250 each but this stipend rises to $500 each after two cars are sold in a week. Used car sales are paid on commission. The commission is based on the total revenue from the sale of used vehicles for the week. The commission rate is 2% of total used car revenue, but if this revenue is $40,000 or more, the commission is 4% of total used car revenue.
Requirements
DF&H wants a RAPTOR program named carpay.rap that:
prompts for the number of new cars sold.
prompts for the total revenue from the sale of used vehicles.
calculates the pay earned from the number of new units sold.
calculates the pay earned from the total used vehicle revenue.
calculates the weekly gross pay.
outputs a pay report showing the various components of the weekly
pay, salesperson productivity, and the gross weekly pay.
include comments to explain your program
NOTE: All pay items should display as currency.
Your Assignment
Part 1
Work through an algorithm for the pay program and submit pseudocode for this algorithm. You can enter the pseudocode in the dropbox message area.
Part 2
Use your pseudocode to create the RAPTOR program program. Zip it up and submit the zip to this dropbox.