Car Rental Program

This is a small application utilizing extending classes that I created for my Java class. The user is asked to enter the name, zip code, car size, and how many days for two people that are renting cars. If the user enters “L” (luxury) as their size option the program accesses the extended class and asks the user if they would also like a chauffeur for an additional $200/day. The program then calculates the total fees for both users and prints out all the information entered by the user followed by the total fee. This program is lacking validation, so incorrect options can be entered.

Click to view code