subject
Computers and Technology, 04.03.2021 21:10 jeanieb

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: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:30
1.the index finger on your right hand types the f r v 4 j u m 7 h y 6 n lo.9 j u 7 m g t 5 b 2.if you need to multiply 400, 2, and 1 ½, what would you type on the numeric keypad? 400*2*1.5 400/2*1.5 400/2/1.5 400*2*1½ 3.select all examples of proper keyboarding technique. rest your fingers gently on the home row or home keys. slouch in your chair. rest your palms on the keyboard. relax your fingers. keep your hands lower than your elbows.
Answers: 1
question
Computers and Technology, 22.06.2019 10:10
3. bob is arguing that if you use output feedback (ofb) mode twice in a row to encrypt a long message, m, using the same key each time, it will be more secure. explain why bob is wrong, no matter what encryption algorithm he is using for block encryption (15 points).
Answers: 3
question
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
You know the right answer?
Assignment 8: Personal Organizer In this program, you will create a personal organizer. You will ask...
Questions