Please help here is my code however I am not sure how to output text to a file and then use the file in the program below. The title of my file that I was attempting to write is included (people.txt) in the program, but I do not know how to correctly output the text so that it can be inputed in this program. Thank you guys.
It is suppose to look like this...
Prairieville Population Growth
(each * represents 1000 people)
Year Population
1910 **
1930 ****
1950 *****
1970 *********
1990 **************
2010 ******************
Press any key to continue . . .
Put the code you need help with here.