Question: 2. Write a C-Language program that will present a basic menu with three selections: 1 - Elantra 2 - Mustang 3 - Maxima And will
2. Write a C-Language program that will present a basic menu with three selections: 1 - Elantra 2 - Mustang 3 - Maxima 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 'scant 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
