Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I don\'t know how to write this program. If your code works, I\'ll be sure to ra

ID: 3633441 • Letter: I

Question

I don't know how to write this program. If your code works, I'll be sure to rank you as a Lifesaver. Thanks! (We have to write our code in the computer program Code::Blocks if that has any affect on anything)

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 written name of the month. Store the month names in an array that contains pointers to strings. You must not allow a user to enter an invalid date. Keep asking until they make a valid entry. You should make the calculation to determine if the user has entered a valid year when they enter February 29. Leap years occur during the years that are evenly divisible by 4. Also, years that are divisible by 100 are not leap years, unless they are also divisible by 400. Future dates are acceptable. Two example runs are shown below. User input is in curved brackets { }.

Enter a date in the form mm/dd/yyyy: {2/17/2021}
You entered the date February 17, 2021.

-------------------------------------------------------------------------------

Enter a date in the form mm/dd/yyyy: {2/32/2022}
You entered an invalid date. Please try again.
Enter a date in the form mm/dd/yyyy: {2/22/2022}
You entered the date February 22, 2022.

Explanation / Answer

#include #include #include void main() { char name[100]; int i=1,j=0,p=0,l=0,k; clrscr(); printf(" Enter a name: "); gets(name); printf(" Initials:"); printf(" %c.",name[0]); l=strlen(name); for(i=1;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote