I am trying to print only the duplicate elements from an array and how many times each of them appear.I am trying to print only the duplicate element
I am trying to print only the duplicate elements from an array and how many times each of them appear.I am trying to print only the duplicate element