Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

For this assignment, you will gather information from the user for their next five calendar events. You will ask for the event name, the month,

For this assignment, you will gather information from the user for their next five calendar events. You will ask for the event name, the month, the day, and the year of the event. You will calculate a reminder date by subtracting 1 from the day (to make things easier, there will be no events that fall on the first of the month). You will then output a table to a file with the event information in it.
Sample Output
Enter the first event name: CSCI 101
Enter the month for the event: 11
Enter the day for the event: 12
Enter the year for the event: 2022
Enter the second event name: CSCI 202
Enter the month for the event: 11
Enter the day for the event: 14
Enter the year for the event: 2022
Enter the third event name: CSCI 201
Enter the month for the event: 11
Enter the day for the event: 17
Enter the third for the event: 2022
Enter the fourth event name: CSCI 210
Enter the month for the event: 11
Enter the day for the event: 18
Enter the year for the event: 2022
Enter the fifth event name: Thanksgiving
Enter the month for the event: 11
Enter the day for the event: 24
Enter the year for the event: 2022
Sample Output File
events.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students explore these related Databases questions