Question: c++ Write a program that computes and displays the charges for a customer's mechanic fees. The company charges $12 per hour for labor. First, the
c++ Write a program that computes and displays the charges for a customer's mechanic fees. The company charges $12 per hour for labor. First, the program should ask if the car is under warranty or not. If the car is under warranty, the following data should be entered: Warranty expiration date Car mileage Cost of Parts (if applicable, enter 0.00 if no cost) The program should call a function to ask for the following data if the car is not under warranty and return the total charges. Car Mileage Number of labor hours Cost of Parts Display the information entered for the vehicle. Input Validation: Do not accept a negative value for any data element.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
