Make a project for local car rental agency which computes rental charges. The agency which computes $15 per day plus $0.12 per mile.
Form: Use text boxes for customer name, city, address, zip code, beginning odometer reading, ending odometer reading and the number of days the car was used. Employ text boxes to display the miles driven and total charge. Format the output suitably. Comprise buttons for compute, Clear, Print and Exit. Code: comprise and event process for each button. For the computation, subtract the beginning odometer reading from ending odometer reading to get number of miles travelled. Use the constant for the $15 per day charge and the $0.12 mileage rate. Show a message to the user for any bad input data.