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

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 with the correct season. My crush and I were both born in Now I'11 finally have a Valentine! If they were born in different seasons, output: I'm a baby but my crush is a baby. At least I still have a date with MATLAB. #MatlabIsBae. Summer Fall Winter Date range March 21 June 20 June 21 September 21 September 22 December 21 December 22 - March 20 Homework 6-Conditionals Example: compatibility seasonsOfLove( December 5, February S compatibility 'I'm a Fall baby but my crush is a winter baby. At least 1 still have a date with MATLAB #Matlabl sBae. Notes: The first letter of the birthday inputted is capitalized The first letter of each season should be capitalized Hints: . A helper function may be useful

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!