Question: Please solve using Matlab! To receive a thumbs up DO NOT USE ITERATIONS(loops) in the solution code!!! Picture has been updated!! Function Name: awardSeason Inputs:

 Please solve using Matlab! To receive a thumbs up DO NOTUSE ITERATIONS(loops) in the solution code!!! Picture has been updated!! Function Name:awardSeason Inputs: 1. (char) a string containing the name of Player A2. (char) a string containing the name of Player B Outputs: 1.(char) a sentence stating who won the Ballon d'Or award Topics: (switch

Please solve using Matlab! To receive a thumbs up DO NOT USE ITERATIONS(loops) in the solution code!!! Picture has been updated!!

Function Name: awardSeason Inputs: 1. (char) a string containing the name of Player A 2. (char) a string containing the name of Player B Outputs: 1. (char) a sentence stating who won the Ballon d'Or award Topics: (switch conditionals), (nested conditionals) Background: You are an esteemed writer for ESPN and have been matched to cover the odds of who is winning the Ballon d'Or based on particular matchups for the finalists. This year is a little strange. They are only doing two finalists, it isn't separated by gender, and there is someone that doesn't even play soccer in the running. You are a little too lazy to write up the headlines, so you decide to write a MATLAB function that will write up what's occurring for you. Function Description: Write a function that will take in two player name inputs (player A and player B) and output the desired string according to the matchup. The only possible inputs for this function are 'Ronaldo' 'Solo' 'Messi' 'Kane' 'Wambach' 'Paul Johnson' Format the output string depending on the outcome defined by the diagram below. If one of the players wins, output: ' wins the specialty Ballon d'or over ! They destroyed the competition!' If player and player B are the same person, output: This is just an ego boost for . This isn't really the Ballon d'Or.' KANE Kane beats Wambach (she is retired from sport) Ronaldo beats Kane (England has been let down too many times WAMBACH Kane beats Messi beats Solo Kane Wambach beats Ronaldo (2nd most ever international goals I don't make the rules) RONALDO 20 Wambach beats Solo Messi beats Wambach Solo beats Ronaldo (google ronaldo 2017 bust... makes her win) ossi beats Ronaldo (carrying for 16 years earns you that) Mess Barcelona for MESSI Solo beats Messi (greatest women's keeper of all time) SOLO ID However, there is an exception! If at least one of the players is infamous Georgia Tech football coach Paul Johnson, he will win the award no matter what. If 'Paul Johnson' is one or both of the players, output the string: 'Paul Johnson does it again! He has won against the odds!' Example: playera players 'Messi' "Solo' str = awardSeason (playera, playerB) str 'Solo wins the pecialty Ballon d''Or over Messi! They destroyed the competition!' Function Name: awardSeason Inputs: 1. (char) a string containing the name of Player A 2. (char) a string containing the name of Player B Outputs: 1. (char) a sentence stating who won the Ballon d'Or award Topics: (switch conditionals), (nested conditionals) Background: You are an esteemed writer for ESPN and have been matched to cover the odds of who is winning the Ballon d'Or based on particular matchups for the finalists. This year is a little strange. They are only doing two finalists, it isn't separated by gender, and there is someone that doesn't even play soccer in the running. You are a little too lazy to write up the headlines, so you decide to write a MATLAB function that will write up what's occurring for you. Function Description: Write a function that will take in two player name inputs (player A and player B) and output the desired string according to the matchup. The only possible inputs for this function are 'Ronaldo' 'Solo' 'Messi' 'Kane' 'Wambach' 'Paul Johnson' Format the output string depending on the outcome defined by the diagram below. If one of the players wins, output: ' wins the specialty Ballon d'or over ! They destroyed the competition!' If player and player B are the same person, output: This is just an ego boost for . This isn't really the Ballon d'Or.' KANE Kane beats Wambach (she is retired from sport) Ronaldo beats Kane (England has been let down too many times WAMBACH Kane beats Messi beats Solo Kane Wambach beats Ronaldo (2nd most ever international goals I don't make the rules) RONALDO 20 Wambach beats Solo Messi beats Wambach Solo beats Ronaldo (google ronaldo 2017 bust... makes her win) ossi beats Ronaldo (carrying for 16 years earns you that) Mess Barcelona for MESSI Solo beats Messi (greatest women's keeper of all time) SOLO ID However, there is an exception! If at least one of the players is infamous Georgia Tech football coach Paul Johnson, he will win the award no matter what. If 'Paul Johnson' is one or both of the players, output the string: 'Paul Johnson does it again! He has won against the odds!' Example: playera players 'Messi' "Solo' str = awardSeason (playera, playerB) str 'Solo wins the pecialty Ballon d''Or over Messi! They destroyed the competition

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!