Create a Date class with integer data members for year, month, and day. Also include a string data member for the name of the month. Include a method that returns the month name (as a string) as part of the date. Separate the day from the year with a comma in that method.
Include appropriate constructors, properties, and methods. Override the ToString ( ) method to display the date formatted with slashes (/) separating the month, day, and year. Create a second class that instantiates and test the Date class.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here