Visitor Messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Geoven
    • Mar 2009
    • 0

    Array problem.

    The stuff in bold is where im havind difficulty.
    The whole problem follows:

    Enable the user to submit a paragraph of text using a text area form element. Convert the
    submitted text into an array of words. Provide the user with two neatly printed lists.
    • The first list should show all the words in the paragraph in alphabetical order with
    duplicates removed.
    • The second list should show all the words in the paragraph with a corresponding
    number indicating how many times the word was used in the paragraph. Sort the list
    from the most to the least used words.
    Clean up the text before you start the computation
    (i.e. remove punctuation marks).
Working...