972831 wrote:Well, where are you stuck? Take the input and see if it's "state", "city" or "area". Then read another input for its name. Then go through all the items you have and check whether there's a match.
now i want a way to acess name by state city and area.ie my program should ask state when i provide state it should display all cities in that state ,then when i select city it should display all area in that city then when i select area it should display all emp name from that area