Convert the following switch into a functionally identical i…

Convert the following switch into a functionally identical if/elseif/else by arranging the provided lines of code in the correct order. Many of the lines will NOT be used.  You’ve just gotten into comics and are about to call someone out on TikTok for failing to know the difference between a “hero” and a “superhero”, but don’t want to make the same mistake. You searched Reddit and found an algorithm to help you decide which word to use but your MATLAB is broken and doesn’t allow for the use of switch. You need to convert this algorithm quick so you can turn on the burner and flame this fool.  Rearrange the lettered lines of code to create a block of code that is functionally identical to the following:  switch ability     case ‘utility belt’         type = ‘hero’     case {‘flying’, ‘teleportation’}         type = ‘superhero’    otherwise         type = ‘civilian’ end  Available lines to rearrange… A – ability = ‘flying’ B – ability = ‘utility belt’ C – else D – end E – if isequal(ability, ‘flying’) & isequal(ability, ‘teleportation’) F – elseif isequal(type, ‘civilian’) G – if isequal(ability, ‘flying’, ‘teleportation’) H – type = ‘civilian’ I – if isequal(type, ‘superhero’) J – ability = ‘teleportation’ K – if isequal(ability, ‘utility belt’) L – type = ‘other’ M – type = ‘hero’ N – type = ‘superhero’ O – elseif isequal(type, ‘hero’) P – elseif isequal(ability, ‘utility belt’) Q – if isequal(ability, ‘teleportation’) | isequal(ability, ‘flying’)   Show your answer by typing the letters that proceed your line choices in the appropriate order in the space provided below. Your answer should be a sequence of letters such as AGFLKNEM. Not all lines will be used.

Answer the following question by filling in the blanks below…

Answer the following question by filling in the blanks below. Do NOT write functions, and do NOT hardcode.  You’re Iron man’s new Jarvis (Jarvis 2.0), and your first task is to organize all the enemy data Jarvis 1.0 has acquired over the years! Your current directory contains multiple Excel files with data on each enemy. The format of these Excel files is given in the example below.  Fill in the blanks labeled (a)-(f) in the following code based on the comments provided. You are not restricted to one line – you may write as many lines as you may need per blank.       Notes:  You can assume all files in the current directory are valid Excel files with the same data labels, in the same order.   The  cell2struct and struct functions are BANNED. You MUST use the dot operator to create the temporary structure.  numEnemy  is a positive integer.  You are guaranteed to have enough enemy files in the current directory to satisfy the numEnemy .     Example:  In the current directory…    Show your answers in the space provided below. Please indicate each answer by preceding it with the same letter (a)-(f) that marks each blank in the code above.