Guest_imported
New member
- Jan 1, 1970
- 0
i need to read a file containing one word per line, and an unknown number of lines into an array, i then need to sort the words and count them to find out which are the top ten words used in the file, i then need to print the top ten, i am only allowed to use shell or quick sort, and i only can use sequential or binary searches. an example file would be the entire contents of moby dick in a file one word per line. I have no idea how to code this prigram, or where even to start, if somebody can help me i would really aprreciate it