/* Read in a (assumed legitimate) day and month from the user in * in dd/mm format, and output the same date in long format * (eg 12/4 would result in output "12th Apr". */ #include #include int main (void) { int day, month; char *monthnames[12] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; printf("Please enter the day and month in dd/mm format: "); /* BEGIN ANSWER -- do not delete this line */ // ADD YOUR CODE HERE /* END ANSWER -- do not delete this line */ return EXIT_SUCCESS; }