My program is supposed to prompt the user to enter the name of a file (which for my case is simply data.txt). If it works then it works. But if the file name is incorrect, the program will display an error message warning the user that they have 2 more attempts to enter the correct file name until the program ends. The problem I am having with my program is that I do not know how to actually get the file to read correctly. My guess is that my data.txt file is not in the correct location so it's not being read into the program. I could be wrong though, as this is my first time reading in a file.