Skip to content

This app searches a CSV and displays countries information based on what the user enters.

Notifications You must be signed in to change notification settings

JoeSamyn/Country-Search-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Country-Search-App

Country Search App was a school project written in java. The program reads in a csv file called countries.csv. Its sorts all of the different values into their proper variables within an object called countries. The user is then prompted with a JOptionPane window, and asks which information the user would like to see. The user can search for 8 different options:

  1. Median Population of Planet (Uses bubble sort and Binary Search)
  2. Median Population of A Specific Continent (Uses bubble sort and Binary Search)
  3. Median Land Size of Earth (Uses bubble sort and Binary Search)
  4. Median Land Size of Specific Continent (Uses bubble sort and Binary Search)
  5. All Info of A Country Search By Name (Uses Linear Search)
  6. All Info of A Country Search By Array ID (Direct Address Method)
  7. All Countries Info Search By Country Code (Binary Search);
  8. All Countries Info Within A Specified Continent (Linear Search)
  9. Quit the Application

The results are then displayed in the console window. Each search is seperated by 20 "*".

About

This app searches a CSV and displays countries information based on what the user enters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages