"Design a class called Date that has integer data members to store month, day, and year.
The class should have a three-parameter default constructor that allows the date to be set at the time a new Date object is created. If the user creates a Date object without passing any arguments, or if any of the values passed are invalid, the default values of 1, 1, 2001 (i.e, January 1, 2001) should be used. The class should have member functions to print the date in the following formats:
3/15/2008
March 15, 2008
15 March 2008
Demonstrate the class by writing a program that uses it.
Input Validation: Only accept values between 1 and 12 for the month. Only accept values between 1 and 31 for the day. Only accept values between 1900 and 2010 for the year.
This is what i have so far but it is Giving me some errors please help me
#include <iostream>
using namespace std;
class date
{
int month;
int day;
int year;
public:
date (int month = 1, int day = 1, int year = 2001)