In this exercise, you will modify the program from TRY THIS Exercise 17. If necessary, create a
Question:
In this exercise, you will modify the program from TRY THIS Exercise 17. If necessary, create a new project named ModifyThis18 Project and save it in the Cpp8\Chap13 folder. Copy the instructions from the TryThis17.cpp file into a source file named ModifyThis18.cpp. Change the filename in the first comment to ModifyThis18.cpp. Modify the program so that it allows the user to enter the date in the following format: mm/dd/yy. Verify that the user entered exactly eight characters and that the third and sixth characters are slashes (/). If the user did not enter the required number of characters, or if the third and sixth characters are not slashes, display a message that indicates the type of entry error made by the user.
Otherwise, the program should display the date in the following format: mm/dd/20yy. Save and then run the program. Test the program appropriately.
Step by Step Answer: