Write an application utilizing at least two classes that creates a customer code to be placed on a mailing label for a magazine. Allow the user to input their full name with the first name entered first. Prompt them to separate their first and last name with at least one space. Ask for their birthdate in the format mm/dd/yyyy. Ask for the month (number) they purchased a subscription and ask for their zip code.
Provide a method that either creates, stores, and retrieves the customer code (if the code is not already present) or just returns the customer code (if the code already has been created). The customer code should contain the last name, followed by their year of birth, the number of characters in the full name, the first three characters of the month they purchased the subscription, and the last two digits of their zip. For example, the code for Bob Clocksom born 01/22/1993, who purchased his subscription during the 10th month of the year and lists 32226 as his zip code would be Clocksom9312Oct26.
Your application must store all the mailing label information, including customer codes. There are an arbitrarily large number of customers.
Build a test rig for your application that you use to demonstrate its functionality. Input data for at least 5 customers, in random order, then display the mailing label information for all customers, sorted alphabetically by last name. A single mailing label should display like this:
Separately zip the entire contents of each folder containing your project/exercises using the method described in Module 1.