Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started