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 17:30
Under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
question
Computers and Technology, 23.06.2019 18:20
What is wi-fi infrastructure? a metropolitan area network that uses radio signals to transmit and receive data a communications technology aimed at providing high-speed wireless data over metropolitan area networks a means by which portable devices can connect wirelessly to a local area network, using access points that send and receive data via radio waves includes the inner workings of a wi-fi service or utility, including the signal transmitters, towers, or poles and additional equipment required to send out a wi-fi signal
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Write a program that displays the following menu: geometry calculator 1. calculate the area of a circle 2. calculate the area of a rectangle 3. calculate the area of a triangle 4. quit enter your choice (1-4): if the user enters 1, the program should ask for the radius of the circle and then display its area. use the following formula: area = ď€(the square of r) use 3.14159 for ď€ and the radius of the circle for r. if the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. use the following formula: area = length * width if the user enters 3, the program should ask for the length of the triangle’s base and its height, and then display its area. use the following formula: area = base * height * .5 if the user enters 4, the program should end. input validation: display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. do not accept negative values for the circle’s radius, the rectangle’s length or width, or the triangle’s base or height. note: if the user enters an improper menu choice (1-4), the program prints "the valid choices are 1 through 4. run the program again and select one of those." if the user enters a negative radius, the program prints "the radius can not be less than zero." if the user enters a negative value for height or base, the program prints "only enter positive values for base and height."
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
Mathematics, 22.02.2021 22:10
question
Computers and Technology, 22.02.2021 22:10
question
Mathematics, 22.02.2021 22:10
Questions on the website: 13722363