subject

Assignment 8: Personal Organizer In this program, you will create a personal organizer. You will ask the user for the name of an event, the month it is happening, along with the day and year it is happening. If the user incorrectly enters one of those values, a default value is set instead. The user can do this for as many events as they have. After the user has entered all of the events, the whole list of events (along with their date) should be output to the user. Then, the user is allowed to choose a specific month, and only the events taking place in that month are output. It may sound simple, but there is a lot that goes into making this program! One of the best ways to do this is with parallel arrays: one for the eventName, eventMonth, eventDay and eventYear. This allows you to easily add and output all of the details of an event. There is some very helpful starter code already provided in your programming environment, but in order to build the full program, follow the steps and instructions below very carefully. Benchmarks In the MAIN portion of your program, four arrays are already created: eventName: to store the event name eventMonth: to store the event month eventDay: to store the event day eventYear: to store the event year addEvent Let's first edit the addEvent() function - there are no parameters necessary. Notice that the addEvent() function is already defined right above the MAIN portion of your program. Inside of the addEvent() function, do the following: Using four prompts, prompt the user for the event name, event month, event day and event year. Event name should be entered as a string Event month should be entered as an integer (1 - 12) Event day should be entered as an integer (1 - 31) Event year should be entered as an integer (Ex: 2020) Then, call the function validateMonth(parameter1) which takes one parameter - the month that the user entered. This function should return a number from 1 - 12 and replace the month value that the user originally entered. validateMonth N

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
You know the right answer?
Assignment 8: Personal Organizer In this program, you will create a personal organizer. You will ask...
Questions
question
Biology, 22.07.2019 22:00
question
Biology, 22.07.2019 22:00
question
Mathematics, 22.07.2019 22:00
question
Mathematics, 22.07.2019 22:00
Questions on the website: 13722360