Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

At the top of each of your C++ programs, you should have at least four lines of documentation: Program name (the C++ file name(s)), Author

At the top of each of your C++ programs, you should have at least four lines of documentation:

Program name (the C++ file name(s)), Author (your name), Date last updated, and Purpose (a brief description of what the program accomplishes). Here is an example:

/* Program name: jbtictactoe.cpp  *  Author: John Doe  *  Date last updated: 5/1/2017  * Purpose: Play the game of Tic-Tac-Toe  */

ASSIGNMENT: Calendar Event

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

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

Measurement Theory In Action

Authors: Kenneth S Shultz, David Whitney, Michael J Zickar

3rd Edition

0367192187, 9780367192181

More Books

Students also viewed these Algorithms questions