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

Step: 3

blur-text-image

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

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

2 (x + y + z) dx dy dz In 4 In 3 x + y o e dxdy

Answered: 1 week ago