Question: Overview This checkpoint is intended to help you practice the syntax of creating your own class. For this checkpoint, you need to put all of



Overview This checkpoint is intended to help you practice the syntax of creating your own class. For this checkpoint, you need to put all of your code in separate files. Then you will need to "tar them up" into a single tar file and submit it Instructions Write a C++ program that has a class for a date, that holds a month, day, and year, and can display it in American format (mm/dd/yyyy),European format (dd/mm/yyyy), and the ISO 8601 standard format (yyyy-mm-dd) 1. Create a class called "Date" with the following private data members: month day year 2. Create the following public methods (functions) set -Accepts a month, day, and year, and sets the member variables. displayAmerican-Displays the date in the format: mm/dd/yyyy displayEuropean - Displays the date in the format: dd/mm/yyyy displayISO - Displays the date in the format: yyyy-mm-dd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
