Develop a program that examines a sentence that hasn’t got any punctuation and finds and identifies the positions of each word that occurs in the sentence. With that the system shouldn’t be case sensitive: text, Text, TEXT should be treated as the same word. The program must be able create a list of positions for words in that list and then be able to save the lists as individual files or separate files.

Thank you for posting your assignment - I'm assume your teacher gave you permission to post their intellectual property on a public web site? You don't seem to know whqat language it shoud be written in. You obviously didn't read the DaniWeb rules that you signed up to - including "Do provide evidence of having done some work yourself if posting questions from school or work assignments". You didn't even bother to ask a question. Maybe you think someone will just do your homework for you?

I suggest you start again. Ask a proper question, and show what you have already done to try to answer it youreself.

This question has already been answered. Start a new discussion instead.