write a function named makeWordList() that takes two paramaters:

  1. readFileName is a string that is the name of a file containing text
  2. writeFileName is a string that is the name of a file that makesWordList() writes it outputs to.

it should contain of of the words in the input file, followed by space, number of occurrences of that word in the input file, both captial and lower case,

file should have following content:

any 1
yourself 1
choose 1
you 2
direction 1
can 1
steer 1

Please I need your help. and My finals are on the way. If you could help, it would be really greatful. Thank you.

Recommended Answers

All 2 Replies

What have you coded so far?

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.