Question: Please help me the fix the C++ code. I tyoed share code: https://codeshare.io/5gx9vw 10: Compare output A Output differs. See highlights below March 32 1776

Please help me the fix the C++ code.

Please help me the fix the C++ code. I tyoed share code:https://codeshare.io/5gx9vw 10: Compare output A Output differs. See highlights below March 321776 Input Which Date constructor? (Enter 1, 2, or 3) 1 MonthNumber 2 - Month Name 3 - default month name? day? year?

I tyoed share code: https://codeshare.io/5gx9vw

10: Compare output A Output differs. See highlights below March 32 1776 Input Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name? day? year? Invalid date values: Date corrected to 3/31/1776 Your output Numeric: 3/32/1776 Alpha: March 32, 1776 Which Date constructor? (Enter 1, 2, r 3) 1 Month Number 2 - Month Name 3 - default month name? day? year? Invalid date values: Date corrected to 3/31/1776 Expected output Numeric: 3/31/1776 Alpha: March 31, 1776 12: Compare output A Output differs. See highlights below june Input 31 1387 Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name day? year? Invalid date values: Date corrected to 6/30/1387 Your output Numeric 6/31/1387 Alpha: June 31, 1387 Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name Expected output dia year? Invalid date values: Date corrected to 6/30/1387 Numeric: 6/30/1387 Alpha June 30, 1387 Output differs. See highlights below february 29 2015 Input Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name? day? year? Invalid date values: Date corrected to 2/28/2015 Your output Numeric: 2/29/2015 Alpha February 29, 2015 Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name? day? year? Invalid date values: Date corrected to 2/28/2015 Expected output Numeric: 2/28/2015 Alpha February 28, 2015 Output differs. See highlights below February 29 1000 Input Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name? day? year? Invalid date values: Date corrected to 2/28/1000 Your output Numeric: 2/29/1000 Alpha February 29, 1000 Which Date constructor? (Enter 1, 2, or 3) 1 Month Number 2 - Month Name 3 - default month name? day? year? Invalid date values: Date corrected to 2/28/1000 Expected output Numeric: 2/28/1000 Alpha: February 28, 1000

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!