admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Write a program to print duplicate characters from a string.

Hardik Patel
12 Posts

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
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin