Required Submission Content for each unit: Keep all related contents of the unit together The submission should contain your work for all listed questions: 1. Always have the code (C++ Source code in text) before test result and place them together. 2. submit all parts of the assignment in order (font >=10 points). Test Run Driver 1) If a test driver (main) is provided for an assignment, use it. 2) If the test driver is not provided, follow the sample test run example and implement your own test driver that perform the same User Interface U/l in the same form and format. Implement the test driver according to what the test run example. 2.1 In some rare class, the example does use hard coded (built-in) test data, only for the real basic ones. 22 Majority of the assignments, the test run example does have an U/l query for user to enter test data, Check out the Submission Standard reference especially on the Validation Test Run Lab 01D Date Class Doteh and testDate.cpp Design a class called Date. The Date class should store a date in three integers: month, day, and year. There should be member functions to print the date in the different forms supported by the member methods. Here is the set of testing that you should include in the main application: I using the overloaded constructor Date today 12, 25, 2012); // Show the date in form +1 today. Shonate10 1 Store a new month day. and year 1/ in the object. today.setHonth(8) today.setDay(16) today setYear(2012) 11 Show the date in form #2 today showbate20; Show the dute in form today showbote30: W test invalid date Bore soneday (12. 2. 2012) Demonstrate the class by writing a complete program implementing it Input Validation. Do not accept values for the day greater than 31 or less than 1. Do not accept values for the month greater than 12 or less than 1 Test Run Atherton Download Welppo 1927257 16:2012 IS 2012 22 set a valid value for the day. Demonstrate the class by writing a complete program implementing it. Input Validation: Do not accept values for the day greater than 31 or less than 1. Do not accept values for the month greater than 12 or less than 1. Test Run X CAUsers tony Downloads/Weekl\appDate.exe 12/25/2012 August 16. 2012 LG Dugust 2012 32 is not a valid value for the day. Proces returned 1
execution time 18.1055 Press any key to continue. Submit Date.h testDate.cpp Validation test run result