Question: Write a program that converts dates from a numerical month - day format to alphabetic month - day format. IE 1 / 3 1 or
Write a program that converts dates from a numerical monthday format to alphabetic monthday format. IE or would have an output of January
User enters the month and day as a single string. It is then converted.
This should run in a for loop and end when a user is done entering dates
For each valid date, ask for a label for this date what event it is like 'George's Birthday' or 'Taco Tuesday'
Write all the dates and their labeled events to a file. This must be done using appropriate techniques from class.
Create a reader class that reads all the data from the file and displays this. This is a separate class and program.
Create exception classes
MonthException thrown for invalid months
DayException thrown for invalid days for the given month
You can assume Feb is always days
Additionally, all classes must follow rules and conventions covered in class. This includes ideas on the topics of inheritance, encapsulation, exceptions, file writting etc.make it very easy to do
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
