Link to home
Start Free TrialLog in
Avatar of bob saget
bob saget

asked on

loop through array of words from a file

How do i create fill a string array from a file. (the file is -hwk10Words.txt-) Loop through the array and put the words that begin with the letter A-F into one list box, G-R into another list box, and the words that begin with S-Z in another listbox. Then output the number of words in each label above each listbox.
Hwk10Words.txt
Avatar of Nitin Sontakke
Nitin Sontakke
Flag of India image

Is this an assignment?

If yes, posting assignment questions is against the EE policy, is what I read somewhere.

The filename does seem to indicate that it is home work.
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial