write a program that accepts a date from the user


Write a program that accepts a date from the user in the form mm/dd/yyyy and then displays it in the form month dd, yyyy, where month is the name of the month.

Enter a date (mm/dd/yyyy): 3/17/2012

You entered the date March 17, 2012

Store the month names in an array that contains pointers to strings.

char monthname[12] = { "January", "February", ...

Your program should not crash if you user makes a data entry error. Now that you know how to handle strings, check the user input for correctness. Prompt the user to reenter information when there are errors. You are reading the data from stdin, no command line input.

No global variables.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: write a program that accepts a date from the user
Reference No:- TGS0208939

Expected delivery within 24 Hours