WAP to find out the occurances of each character in a given string
Input str="Hello World"
Output
H=1
e=1
l=3
o=2
<Space>=1
W=1
r=1
d=1
Published By : Suraj Ghimire
WAP to find out the occurances of each character in a given string
Input str="Hello World"
Output
H=1
e=1
l=3
o=2
<Space>=1
W=1
r=1
d=1