Using a functional decomposition and a C++ program that reads a date in a numeric form and prints it in English. For example : Enter a date in the form mm dd yyyy 10 27 1997 The date is: October twenty-seventh, nineteen ninety-seven. Another example: Enter a date in the form mm dd yyyy 12 10 2010 The date is: December tenth, two thousand ten. The program should print an error message for any invalid date, such as 2 29 1883 ( 1883 was not a leap year). Make sure to use Do-While and Switch constructs in your codes. Use proper indentation, appropriate comments, and meaningful identifiers thought the program.
Get Free Quote!
391 Experts Online