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;
when user enter "1" when prompt, apple will display out on screen.
Can someone give me an ideal of how can i display out the selected words when user entered any number between 1-20?