Question: Using two arrays, one that holds string month names (like January, February, etc.) and another that holds the integer number of days in each month

Using two arrays, one that holds string month names (like "January", "February", etc.) and another that holds the integer number of days in each month (like 31, 27, etc.), write a Assembly language program that asks the user to input the name of a month. Output the number of days in that month.

If the user enters an invalid month name, the program should output an error message. The program does not need to loop and ask for more input. You do not need to handle leap years -- assume February has 28 days.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!