Computer Science, asked by kaylabriggslove, 4 months ago

edhesive assignment 8: personal organizer
In this program, you will create a personal organizer. Using parallel arrays, you will store the following information on each event in your organizer:

Month (1-12)
Day (1-31)
Year
Event name
If the user enters an invalid month (not 1-12), then the month should be set to January. If the user enters an invalid day (such as June 56th), then the day should be set to 1.

Declare the following arrays:

eventName: to store the event name
eventMonth: to store the event month
eventDay: to store the event day
eventYear: to store the event year
Write the following methods:

Add an event
Name it addEvent
Takes four parameters in the following order:
array of names
array of months
array of days
array of years
This function will ask the user for the event name, month, day, and year (in that order).
Next, it will append the name, month, day, and year to the appropriate array.
Invalid parameters should be stored as default.
Print all events
Name it printEvents
Takes four parameters in following order:
array of names
array of months
array of days
array of years
This function prints all events in the arrays in the specified format.
Print events in a specific month
Name it printMonth
Takes five parameters in following order:
selected month as integer
array of names
array of months
array of days
array of years
This function will print all events in the arrays in the specified format for the given month.
Your program should follow how the sample run shown below, including asks for input as well as how it outputs events.

Answers

Answered by tuktuki8
3

Answer:

I don't know your questions???

Explanation:

please mark as brain list

Similar questions