Hi,
I want to write the program How to count the repeted character from the string and print each charater count value.
Ex. I have
string str="asfsdfyagfdvgbf";
and i want to output in the below format.
a=2
s=2
f=4
d=2 ... and so on.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 23, 2017, 10:33 PM EDT
Nitesh kumar43 reputationPosted Apr 23, 2017, 11:02 PM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 23, 2017, 11:03 PM EDT