Create the OIP/OEA documents and develop an application that allows MW AutoRamma to determine the amount due for the purchase of a vehicle. The sales person should be allowed to enter the base price and the trade-in allowance. Check boxes will indicate the additional accessories the buyer desires: Stereo System ($525.75), Leather Interior ($1,100.00), and/or Computer Navigation System ($1,200.00). Radio buttons will be used to select the type of exterior finish desired: Standard (no additional charge), Pearlized ($400.00), or Customized detailing ($699.00). When a check box or radio button is clicked, update the Accessories & Finish value.
The base price must be at least $5000 and less than $100,000. The trade-in allowance may be $0 (no trade-in) or less than $10,000 and less than the car selling price. If no trade-in then display 0.00. Use TryParse for validation of input.
Include the following buttons: Calculate, Clear, Modify, Summary, and Exit. When the Calculate button is clicked, determine the selling price, sales tax (8%), total and amount due. The Selling Price is the sum of the car base price and the accessories & finish amount. Sales tax is calculated on the selling price. The total due is the sum of the selling price and sales tax. The amount due is the total less the trade-in allowance. All input, radio buttons and check boxes are to be locked down.
When the Modify button is clicked, open the form for modifications by the user and force the user to re-Calculate.
When the Clear button is clicked, determine if the car was actually sold or not. If the car was not sold verify clearing of values before clearing them.
If the car was sold, then accumulate the following totals:
The summary button should display the totals in a message box. When the user exits the program, display the totals again.
Use named constants for all fixed values. Do not allow the program to exit in the middle of a transaction. A transaction ends when the current values are cleared.
Use the following as a guide: see image.
Extra Credit:
After the Calculate button is clicked, the accessories & finish amount must respond dynamically to changes made in the Accessories or Exterior Finish and all items must be re-calculated. The Calculate button will not become active until the values are cleared or the Modify button is clicked.