Matrix-search Java code to search and print the index of a user input number in a matrix. Take a matrix as input from user . Search for a given number x and print the indices at which it occurs.