I am trying to write a program that will return the number of slots in the array that contain a value that is equal to the index of the slot, after random numbers are generated, then prints each element of the array on a separate line with an asterix. (Suppose to look like this:)I am trying to write a program that will return