Modify the Matrix class provided below and give the definiti…
Modify the Matrix class provided below and give the definition of a template Matrix class, so that the template Matrix class has the same functions as the above definition for integers, but can be used to store elements of any given data type. You do not need to implement any member function. Analyze which lines you need to modify: enter the line number to modify as well as the letter option for the new line of code, from the options given below, to modify the class and make it a template. Enter only the lines that must be modified and the new code. Go in order. If there are left some Lines unused, enter empty as shown. Example of modifying a line: Line: 4 code: B Example of unused lines: Line: none code: N: empty (No code) Enter your answers: Line: [line1] code:[code1] Line: [line1a] code:[code1a] Line: [line2] code:[code2] Line: [line3] code:[code3] Line: [line4] code:[code4] Line: [line5] code:[code5]
Read DetailsGiven the code above, what would be a correct way for the ma…
Given the code above, what would be a correct way for the main function to access the element stored at position 1 in list1? (Mark ALL that apply): Multiple answer question. Do NOT guess, Carmen takes points off for incorrect answers.
Read Details