Question: Please make this in C language. Please make the program and its design tool. Please make sure to abide by the rules of the program.
Please make this in C language.
Please make the program and its design tool.
Please make sure to abide by the rules of the program. I want it clear and simple.
I appreciate your help.
1. Your program needs to store the sales price of cars purchased. You are to store the sales price NOT THE LIST PRICE.
2. Your program needs to allow a user to store up to 50,000 car sales.
3. Once a user presses ENTER A NEW SALE the program will ask the following questions:
-What is the sticker Price of the car you are buying
-Are you a first time buyer
-Are you a veteran
-Are you a student
-Is it the last day of the month
4. RULES of a car sale
If it is the last day of the month, the car is discounted by 5% before any other discounts are applied.
First buyers get a $500 credit
Veterans get a 1% discount off the final price of the car
Students get an extra $700 off the price.
Students that are also first time car buyers get the other discounts plus another $500 off the sticker price.
5. The program will output the following information at any time during the running of the program. The output will go to the screen.
Total cars sold
Average car sold price
Total revenue collected
Assuming the dealer marks up the final price by 5% then total revenue earned by the dealer will go up by that amount (the revenue from that sale).
6. RULES for your program
You need comments
Main needs to have a switch and a bunch of function calls
Main will have variables
The majority of your work will be done within functions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
