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
Get step-by-step solutions from verified subject matter experts
