Menu

[Solved]Language C Using Two Arrays One Holds String Month Names Like January February Etc Another Q37091475

Language = C++

Using two arrays, one that holds string month names (like”January”, “February”, etc.) and another that holds the integernumber of days in each month (like 31, 27, etc.), write a programthat asks the user to input the name of a month. Output the numberof days in that month.

If the user enters an invalid month name, the program shouldoutput an error message. The program does not need to loop and askfor more input. You do not need to handle leap years — assumeFebruary has 28 days.

Expert Answer


Answer to Language = C++ Using two arrays, one that holds string month names (like “January”, “February”, etc.) and another that h… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *