Streetname search
Difficulty:
Employees of the government of Enschede wants an easy program to find streetnames in the city. Therefore we have created a CSV file with all streetnames of Enschede.
Create a program with the following requirements:
- The application gives a prompt to the user where the user can type in a string. Then, only if the string is longer than 2 characters, the application searches for streetnames that contains the query and shows the results.
- If the user types in less than 2 characters an error message will be shown.
- If the user types in a “q” the application exits.
Example output
The program should look like this. After this, when you press on the key the screen is cleared and you can search again.