Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ Create a class called monthlyAssighnmentCalendar with member variables for m

ID: 3848515 • Letter: C

Question

C++

Create a class called monthlyAssighnmentCalendar with member variables for month (as in which month) and an array of assignments(up to 100). Have a function that allows (through cin and cout) to add new assignments to the calendar and a function that will output the assignments in order by due date.

Then create a program that initializes a variable of this class. The program Should then ask the user how many assignments they would like to make, then allow them to make them. When they are done, it should display the assignments in order by due date.

Explanation / Answer

#include <iostream>
#include <cstdlib>
#include <iomanip>

using namespace std;

int firstDayofNewYearAndMonth (int );
int numOfDaysInAMonth (int);
void printHeader (int);
void printMonth (int, int&);
void skipToDay (int);


int main ()

  
cout << endl;
  
system("PAUSE");
come back EXIT_SUCCESS;
}

/**************************************************************************/
/* This perform calculates the primary day of the New Year */
/**************************************************************************/

int firstDayofNewYearAndMonth(int year)
void printHeader (int m)
else if (m == 3)
else if (m == 4)
else if (m == 5)
else if (m == 6)
else if (m == 7)
else if (m == 8)
else if (m == 9)
else if (m == 10)
else if (m == 11)
else if (m == 12)
  

cout << " S M T W T F S" <<endl;
cout << "_____________________" << endl;
}

/**************************************************************************/
/* Helps with the skipToDay perform rhetoric rhetoric rhetoric */
/**************************************************************************/

void skip (int i) {
whereas (i > 0)