Dec-16-2017, 04:13 PM
You are going to write a program that reads data from a file into a list and allows the user to query and modify the data. You may assume that the file is formatted properly for this assignment.
Design specifications: The program must use lists. For full credit, the program should read all data from one file (see Appendix A). For slightly less credit (-5), the program could read all data from four files (one for names, one for continents, one for populations, and one for areas) (see Appendix B). For less credit than that (-10), the program can hard-code in the three lists of data (see Appendix C). (Start with hard-coded lists, get the program working, and then work on reading in the lists from files.) For each menu option, there should be a function that takes the lists as parameters. There should be no global variables.