15 lines
No EOL
318 B
Text
15 lines
No EOL
318 B
Text
open the text .
|
|
make a list with every word .
|
|
|
|
get input .
|
|
list with word or distance to next defined word .
|
|
|
|
look at first word of input
|
|
find first occurance
|
|
|
|
get distance to next defined word
|
|
go the distance in text and compare the words
|
|
|
|
repeat till everything is checked
|
|
|
|
find next occurance of first word of input |