Hi everyone. I have an assignment for my C++ course, where we have to make a word guessing game that reads from an input file. The file needs to contain 25 words, with a minimum of six letters. I have finished my input file, with 5 words with a length of 6 letters at the top, and adding a letter for each word in the next 5, down to line 25 (6 letter words for first 5 lines, 7 letter words for next 5 lines, etc). We are required to take the user's input to determine how many letters they want the word to contain, and then choose a random word in the file based on their input. How do I make a random number generator to make sure it goes to the right line in the file for the correct word length? I was thinking of using a modulus operator, but I'm not sure that would work. If I'm not making sense, please let me know. I'm brand new to C++, so I'm a little over my head with this.