Reading data from csv file based on specific input
I have a project in which, the user when enters a zipcode, the program should select a specific .csv file related to the zipcode entered (for eg: if the zipcode for florida is entered, the program should read the data from florida.csv file).
Once, the file is found, the program should execute certain simple calculations based on the data in the file. The final output will be the result of these calculations.
I am initially stuck up with the first part, which is selection of a specific .csv file based on the zipcode entered by the user.
So, can u pls help me out for the same. If there is any ready code available for it, pls post it. Its really urgent.
Hoping for kind co-operation and thanks in advance.