No matches

Some states have no records, and that’s OK. You do not need to check to valid state name input, but you may need to reset the list to apply a different filter.

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 1
State Name? North Carolina

Found 0 matching records

      Dam Name     Watercourse          County      State   Height  Length  Year
--------------------------------------------------------------------------------

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 5

Resetting list to all dams

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 1
State Name? Utah

Found 25 matching records

      Dam Name     Watercourse          County      State   Height  Length  Year
--------------------------------------------------------------------------------
Arthur V Watkin  offstream Stora         Weber        Utah    4235   76665  1957
Broadhead Diver   Boadhead Creek        Summit        Utah    8198      28  1953
     Causey Dam   SF Ogden River         Weber        Utah    5704     845  1962
Currant Creek D    Currant Creek       Wasatch        Utah    7692    1600  1974
 Deer Creek Dam      Provo River       Wasatch        Utah    5425    1304  1938
East Canyon Dam  East Canyon Cre        Morgan        Utah    5715     436  1964
       Echo Dam      Weber Basin       Unknown        Utah    5570    1887  1927
Flaming Gorge D      Green River       Daggett        Utah    6047    1285  1958
Huntington Nort  Huntington Cree         Emery        Utah    5845    2897  1964
      Hyrum Dam  Little Bear Wat         Cache        Utah    4680     540  1934
Joes Valley Dam      Seely Creek         Emery        Utah    7004     750  1963
 Jordanelle Dam            Provo       Wasatch        Utah    6185    3700  1987
 Lost Creek Dam       Lost Creek        Morgan        Utah    6022    1078  1963
    Midview Dam        Offstream      Duschene        Utah    5268     663  1935
  Moon Lake Dam  Lake Fork River      Duchesne        Utah    8145    1108  1935
     Newton Dam   Clarkson Creek         Cache        Utah    4781    3340  1941
   Pineview Dam      Ogden River         Weber        Utah    4908     600  1934
  Red Fleet Dam   Big Bush Creek        Uintah        Utah    5627    1670  1977
   Scofield Dam      Price River        Carbon        Utah    7636     575  1943
Soldier Creek D  Strawberry Rive       Wasatch        Utah    7612    1290  1970
 Starvation Dam  Strawberry Rive      Duchesne        Utah    5725    3070  1970
  Stateline Dam  East Fork of Sm        Summit        Utah    9176    2800  1977
  Steinaker Dam        Offstream        Uintah        Utah    5527    1997  1959
Upper Stillwate       Rock Creek      Duchesne        Utah    8180    2660  1983
    Wanship Dam      Weber River        Summit        Utah    6055    2015  1954

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 6

Goodbye!

Bad menu options

Check for bad menu options and reprompt as needed.

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 0

Invalid choice, try again.

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 7

Invalid choice, try again.

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? a

Invalid choice, try again.

Please select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 5

Resetting list to all dams

Validating years

You should check that users enter a valid non negative integer for a year number, but you do not need to limit the years to a particular range or ensure that max year is later than min year.

lease select one of the following choices:
1. Filter dams by state name
2. Filter dams by year
3. Sort by state name
4. Sort by year
5. Reset list to all dams
6. Quit

Choice? 2
min year? test

Invalid year, try again.

min year? 1970
max year? -3

Invalid year, try again.

max year? Texas

Invalid year, try again.

max year? 1975

Found 14 matching records

      Dam Name     Watercourse          County      State   Height  Length  Year
--------------------------------------------------------------------------------
Bretch Diversio        Elk Creek         Kiowa    Oklahoma    4141    2784  1975
    Crystal Dam   Gunnison River      Montrose    Colorado    6772     620  1972
Currant Creek D    Currant Creek       Wasatch        Utah    7692    1600  1974
Ivanhoe Diversi    Ivanhoe Creek        Pitkin    Colorado   10015      83  1973
Lily Pad Divers  Ivanhoe Cr (Nas        Pitkin    Colorado   10207    2784  1970
Marble Bluff Da  Little Truckee         Storey      Nevada    3866    1622  1975
Mountain Park D  West Otter Cree         Kiowa    Oklahoma    1423     535  1973
Nambe Falls Dam        Rio Nambe      Sante Fe  New Mexico    6840    1021  1974
     Pueblo Dam   Arkansas River        Pueblo    Colorado    4925   10230  1970
      Ririe Dam     Willow Creek    Bonneville       Idaho    5128    1070  1970
Sawyer Diversio     Sawyer Creek        Pitkin    Colorado   10084      20  1970
   Scoggins Dam   Scoggins Creek    Washington      Oregon     313    2700  1972
Soldier Creek D  Strawberry Rive       Wasatch        Utah    7612    1290  1970
 Starvation Dam  Strawberry Rive      Duchesne        Utah    5725    3070  1970