Question: need help translating this problem into javascript PROBLEM DESCRIPTON Jiffyfix car repair has added a new car maintenance concierge service to their business. The rules
PROBLEM DESCRIPTON Jiffyfix car repair has added a new car maintenance concierge service to their business. The rules used to process a customer's vehicles are listed below: - Two options for service are available for regular or concierge service: Tire replacement: - Premium tires: $230.00 per tire - Budget tires: $150.00 per tire - $20.00 alignment charge per tire - Flat $30.00 old tire disposal fee (regardless of the number of tires) - Oil Change: - Synthetic oil - $80.00 - Non-synthetic oil - $65.00 - Flat $30.00 recycling fee - Concierge Service or Drop-off - A vehicle Cleaning is only available if the conclerge service is selected for $40 0 Using this service will add a 15% surcharge to the total cost of all services, capped at $75. Inputs: - Tire replacement option: Yes or No - Tire Quality: Text - Premlum or Budget - Number of Tires: Numerical - Oil Change option: Yes or No - Oil Type: Text - Synthetic or Non - Concierge Service: Yes or No - Vehicle Cleaning option: Yes or No Outputs: - Total service price (pre-tax). - Additional concierge service fee (if selected). - Sales Tax amount to be added to the bill ( 7% rounded up to the nearest cent). - Final Cost of the bill (including the tax)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
