Write a program named StringSplit that asks for a date in the Day/Month/YYYY format (which does
not need the zeros – so April 1, 2024 would be 4/1/2024), and then prints a message with the date in
Month DD, YYYY format where Month is the three letter abbreviation of the month.
Implement functions as follows:
* main() - Asks the user for input and accepts it as a string.
* splitDate() - Accepts one string, returns three strings: Month, Day, and Year.
* getMonth() – Accepts the one or two digit month and returns the three letter name (ex. 3 returns
Mar or 8 returns Aug)
SampleOutput:
Enter a date as MM/DD/YYY (ex. 3/12/2024): 9/12/2024
Sept 12, 2024