Write a program to print duplicate characters from a string.
Input :
onlinelearningcenter
Output :
Duplicate characters from a string "onlinelearningcenter" are :
e, count = 4
i, count = 2
l, count = 2
n, count = 5
r, count = 2
Published By : Hardik Patel