A car rental company has two types of customers: Private and Commercial. Both accounts allow customers to rent cars for specified periods (start date plus no of days rental). Also, both types of customers would have a customer record with name and a customer number. Private customers can only pay by cash or credit card upfront, commercial customers will have an account against which rentals are booked. Also, commercial customers would name a driver (and there can be several rentals for the same period against their account with different drivers named).
You must develop a sensible class structure to capture these accounts and provide methods for their specific features (book, pay, send monthly bill, produce rental invoice).
Develop a console programme creating some accounts to test your operations.
1
Expert's answer
2012-11-02T08:57:52-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
The expert did excellent work as usual and was extremely helpful for me.
"Assignmentexpert.com" has experienced experts and professional in the market. Thanks.
Comments