I need to know how to count each letter in a file using Array
and then outputting each letter & the number of times of each letter

an example of the output :

Letter count
-------------------
e 20
s 16
a 15
:
:
-------------------

can any 1 help me with that !! plz

can any 1 help me with that !! plz

Yes, of course.

As you know by reading the forum rules and the sticky posts at the top of the forum you forgot to post a few things with your request.

Keep in mind every letter has a distinct numeric value (A=65, a=97, etc). Use that info and an array and you should be able to do this program easily.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.