Question: Write a script in MATLAB which will ask the user for which month and day they were born on (enter month 1-12 and day 1
Write a script in MATLAB which will ask the user for which month and day they were born on (enter month 1-12 and day 1 to 31). Write a script which will display this into a sentence such as
input: month 9, day 1 output: Your birthday is the 1st of September.
input: month 2, day 31 output: That is an invalid date.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
