Question: 5. Matrix search: Write a program to take an integer value and a matrix as input. Your program searches for the given integer value in

5. Matrix search: Write a program to take an integer value and a matrix as input. Your program searches for the given integer value in the matrix. If it finds the number, it will display an informative message specifying the row and the column of the number. If it doesn't find the number, it will display a 'not found message. Please use these matrices to test the functionality of your code. a) [17, 10, 15, 18], \ [25, 29, 35, 47], \ [56, 78, 85, 104]] number: 35 matrix = b) matrix = [[40, 10, 7, 2], \ [18, 20, 13, 18], \ [56, 15, 85, 4]] number: 35
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
