Question: Function Name: spaceJam2 Inputs: 1. (double) 1 x 2 vector of the max age and min height in inches, in that order 2. (char) Data

 Function Name: spaceJam2 Inputs: 1. (double) 1 x 2 vector of

Function Name: spaceJam2 Inputs: 1. (double) 1 x 2 vector of the max age and min height in inches, in that order 2. (char) Data from potential players application Outputs 1. (char) A string indicating whether the player made the team Background After a humiliating defeat against Bugs Bunny and his friends, the aliens are back for a rematch. The aliens have been training 24/7 for this epic rematch, while the Looney Tunes have been spending all their time studying for their MATLAB course. With Michael Jordan retired for good this time, the Looney Tunes must recruit some serious basketball talent to be on their team, so they only take the best players who meet certain standards Function Description: Write a function that takes in a player's application data as a string and outputs a string stating whether they made the team or not. A player's application data will be in a string containing the following characteristics in this order, with each response separated by commas , , , , ' First, set a maximum age and a minimum height standard, specified by the first input. Anyone who does not meet these standards will automatically not be considered. A player's height is given in feet and inches formatted as such '- made the Example: >> Data'Patrick Star, 46, 5-2, Super Stars,Nickelodeon,17' >> result spaceJam2([70,60], Data) result>Patrick Star made the team! Notes: Wamer Bros may be referred to as 'WB, 'Warner Bros', 'Warner Bros Pictures The test cases given are not exhaustive. Be sure to test all possible conditions! Try putting 'Michael Jordan' in the name of the application string and run the solution . Function Name: spaceJam2 Inputs: 1. (double) 1 x 2 vector of the max age and min height in inches, in that order 2. (char) Data from potential players application Outputs 1. (char) A string indicating whether the player made the team Background After a humiliating defeat against Bugs Bunny and his friends, the aliens are back for a rematch. The aliens have been training 24/7 for this epic rematch, while the Looney Tunes have been spending all their time studying for their MATLAB course. With Michael Jordan retired for good this time, the Looney Tunes must recruit some serious basketball talent to be on their team, so they only take the best players who meet certain standards Function Description: Write a function that takes in a player's application data as a string and outputs a string stating whether they made the team or not. A player's application data will be in a string containing the following characteristics in this order, with each response separated by commas , , , , ' First, set a maximum age and a minimum height standard, specified by the first input. Anyone who does not meet these standards will automatically not be considered. A player's height is given in feet and inches formatted as such '- made the Example: >> Data'Patrick Star, 46, 5-2, Super Stars,Nickelodeon,17' >> result spaceJam2([70,60], Data) result>Patrick Star made the team! Notes: Wamer Bros may be referred to as 'WB, 'Warner Bros', 'Warner Bros Pictures The test cases given are not exhaustive. Be sure to test all possible conditions! Try putting 'Michael Jordan' in the name of the application string and run the solution

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!