Answered step by step
Verified Expert Solution
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 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
Enter the month for the event:
Enter the day for the event:
Enter the year for the event:
Enter the second event name: CSCI
Enter the month for the event:
Enter the day for the event:
Enter the year for the event:
Enter the third event name: CSCI
Enter the month for the event:
Enter the day for the event:
Enter the third for the event:
Enter the fourth event name: CSCI
Enter the month for the event:
Enter the day for the event:
Enter the year for the event:
Enter the fifth event name: Thanksgiving
Enter the month for the event:
Enter the day for the event:
Enter the year for the event:
Sample Output File
events.txt
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started