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 syntaxof creating your own class. For this checkpoint, you need to putall of your code in separate files. Then you will need to

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!