/*the file that im reading from has 40 lines of words. I need to read from file whatever the size of the file and assign the amount of word from the file to the array size. thank you in advance
*/
...