CSci 151             Assignment 8: Array of Strings                 Spring 2015


Problem Definition
   Write a program to process an array of names for Hunt county incorporated
   citys according to the specifications and design constraints specified below.
   Use your leo email name as the source file name(e.g. gPolya.cpp). Attach 
   your solution to an email sent to tom.brown at the domain tamuc.edu. The 
   "subject" line is to contain the course(151), your leoMail name, and 
   assignment number 8. This solution is due on or before Wednesday 13 May.
   
Input
   A file of city names(city.txt), and, from the console, a name to locate
   in the list (e.g. Commerce).
   
Output
   Print a descriptive program title followed by a menu of user choices to: 
   1. Search city[] for a matching name:
      include a user prompt for city name, 
      print a message to indicate such a city exists, or an exception message
      (e.g. "city not found"); or
   2. Output all city[] names; or
   3. Exit the program.
   
Process
   First input city.txt and store the city names as an array. Display a menu of
   user choices, then either: prompt for a city and sequentially search through 
   city[] and show the result, or list all city names, or exit.     
   
Design and Style Constraints
   1. Insert a comment at the top of your source program with your name, the 
      course code, the lab number and a brief program description.
   2. Make meaningful identifier names, apply conventional case usage, 
      initialize variables during declaration. Indent and align statements
      for readability and to show hierarchy.
   3. Create a program with a main function and subordinate functions to:
      a. do a sequential search to locate a city in the sorted array, and 
      b. print the entire list of cities.
   4. Incorporate an event-controlled loop to repeat the menu of choices until
      the user chooses to exit.   

City.txt data:
   Caddo Mills
   Campbell
   Celeste
   Commerce
   Greenville
   Hawk Cove
   Lone Oak
   Neylandville
   Quinlan
   Union Valley
   West Tawakoni
   Wolfe City