i have a text file with 20 words. And when user enter any number between 1- 20 it will display out the selected word.

eg. in text file i have;

apple
orange
grape
....

when user enter "1"...