Question: Function Name: seasonsof Love Inputs: . (char) Your birthday 2. (char) Your crush's birthday Outputs 1. (char) A string describing if you and your crush
Function Name: seasonsof Love Inputs: . (char) Your birthday 2. (char) Your crush's birthday Outputs 1. (char) A string describing if you and your crush are compatble Background: After many single Valentine's days, you are determined to find a date this year. You spot a cute MATLAB-lover in your CS 1371 dass. After you get their number, you make sure to figure out their birthday. With this information and some help from your wingman MATLAB, you can determine if you and your crush are compatble enough to be each other's Valentines. Function Description Write a function that takes in two birthdays and determines whether they are compatible based off if they were bom in the same season or not. The birthdays wll be in the format of month then the day, separated by a space (ex. 'November 9). First, determine the season each person was bom in based off their birthday. If they were bom in the same season, output this line, replacing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
