1. Engineering
  2. Computer Science
  3. please help me the fix the c code i tyoed...

Question: please help me the fix the c code i tyoed...

Question details

Please help me the fix the C++ code.

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, 177612: 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, 1387Output 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, 2015Output 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

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

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution