Description
Date Program
Write a program that reads a date from the user in the form: MM/DD/YYYY and prints the date in words.
For example, 11/24/2022 would be display as:
November twenty-fourth, two thousand twenty-two.
You will write 2 programs for this assignment. The first must use c-style strings (character arrays), as discussed in our book to implement your solution. The second will solve the same problem using the string class instead of c-style strings. I recommend writing the c-string implementation first, then making a copy of it and updating the copy to use the string class.
Both programs must be modular. Use separate functions for input, each part of the processing and output. Your output should be well-organized, neat, and easy to read.
Design each of your programs by completing the CSC 250 Program Design Document. You may use a separate document for each program or put both designs into the same document. Include a structure chart, prototype and brief description for each function and time estimates for program design, coding each function, program testing, and total time. If you put both designs in the same file, you may use one structure chart, if you like.
Save the designs in files named DateDesignCstring_xxx.doc and DateDesignString_xxx.doc or just ValentineDesign_xxx.doc if using one file, where xxx are your initials. Submit your design file(s) in the Program #4 Design drop box by the due date shown in the calendar.
Write both programs. As stated above, I recommend writing the c-string version first as it generally takes more time. Save it, make a copy and update the copy to be the string version.
Save your c-string program in a file named date_cstring_xxx.cpp where xxx are your initials.
Save your string program in a file named date_string_class_xxx.cpp where xxx are your initials.
Compile, run, test, and debug both programs.
Update your Program Design Documents. Update the structure chart & function descriptions to fit your working program. Record the actual time spent.
Submit your updated design documents and working .cpp files in the Program #4 drop box by the due date shown in the calendar. You should submit a total of 2 .cpp files in this drop box and 1 or 2 .doc files.