Midterm v2

You could also declare this variable only once and have the conditional there. For example:
![screen shot 2014-10-20 at 11 59 25 am](https://cloud.githubusercontent.com/assets/3927318/4704442/1ecd8d8a-5872-11e4-8ace-0ddc2bc219a5.png)

You also might want to check that they are entering either 'distance' or 'rating' and loop until there is a valid response