I currently have a program that works on an array by using a for loop to iterate through the array with an embedded if statement that matches the element in the array to the one I'm looking for. I need to modify this so that it will find the second occurrence of the same element. Ideas on how to do this?I currently have a program that works on an arr