Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab Function Name: seasonsofLove 1. (char) Your birthday 2. (char) Your crush's birthday Outputs: 1. (chan A string describing if you and your crush are

image text in transcribed
Matlab Function Name: seasonsofLove 1. (char) Your birthday 2. (char) Your crush's birthday Outputs: 1. (chan A string describing if you and your crush are compatible After many single Vaientine's days, you are determined to find a date this year. You spot a cute MATLAB-Jover in your CS 1371 cass. After you get their number, you make sure to fgure out their birthday. With this information and some hep from your wingman MATLAB, you can determine if you and your crush are compatble enough to be each other's Valentines Function Description: Wite a function that takes in two birthdays and detemines whether they ane compatible based oft if they were born in the same season or not The birthdays will be in the fomat of month then the day, separated by a space (ex. November 9. First, determine the season each person was bom in based of their birthday If they were born in the same season, output this ine, replacing cseason> with the comect season My crush and I were both born in cseasono. Now 1'11 finally have a valentinel If they were bom in diferent seasons, output I'a a cseason> baby but ny crush is a cseason> baby. At 1east I still have a Date range March 21 -June 20 June 21 September 21 September 22-December 21 December 22 March 20 Summer Fall Homework 6 Conditionals Example: compatibllity - seasonsOfLovel'Decenber 5 February 5' conpatibility I'n Fall baby but ay crush is a winter baby, At least i still have a date with MATLAB- anut labisBae The Mst letter of the birthday rputted is capita!zed The Mst letter of each season should be capitalized * - A helper function may be uselul

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions