Question: i need help creating a program for this assignment this also uses C language In-class exercise on basic conditionals Point value 25 points Write a


In-class exercise on basic conditionals Point value 25 points Write a program that will 1. Have a comment section at the top of the program similar to the following: /* Your Name The Date Week 4 Assignment */ I 2. Write a C-Language program that will present a basic menu with three selections: 1 - Camaro 2 - Mustang 3 - Charger And will accept a number (1-3) as input 3. Based on the number the user entered, use 'if statements to set a variable called 'price' that will contain the base price for the car You don't have to use real prices, just make some up. 4. Then, the program will ask the user if they want the 'deluxe' package, Use 'scanf and the %c conversion character to get the user's response (y). 5. If the user answered 'y', then add the deluxe package price ($150.00) to the price of the car 6. Then the program will add the tax (0875) to the price and 7. Finally output the total price of the car. Here is some sample output from the program I wrote to solve this problem (next page) (You don't have to make yours look just like mine, but it should be similar) CACOSC1320Worklassignment bin Debuglastigent.ee D X 1 2 3 --Car Buyer--- Camaro Mustang Charger Please select 1, 2, or 3: 3 And do you want the deluxe package with that? y Your new Charger will cost: $32788.13 Process returned @ (exe) execution time : 5.385 s Press any key to continue. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
