title: Display highest value with its name
body: <p>I need a function that will go through below values and print out the highest value with its name. It is not hard to find the highest value which is 20 but I can't figure out a way to display the name of the value. Thank you!</p>
  
  <p>Example:</p>
  
  <pre><code>North: 5
  South: 10
  West: 15
  East :20
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Winner is East with $20 in sales!
  </code></pre>
  
  <p>Here is what I got so far</p>
  
  <pre><code>#include "stdafx.h"
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  using namespace std;
  
  double northeast, northwest, southeast, southwest;
  // Function prototype
  double getSales(string);
  void findHighest();
  
  int main()
  {
      northeast = getSales("Northeast");
      northwest = getSales("Northwest");
      southeast = getSales("Southeast");
      southwest = getSales("Southwest");
  
  
      return 0;
  }
  
  //Function getSales
  double getSales(string name)
  {   cout &lt;&lt; "What is the quarterly sales figure for " &lt;&lt; name &lt;&lt; "? ";
      double sales;
      cin &gt;&gt; sales;
      while (sales &lt; 0)
      {
          cout &lt;&lt; "Please enter a positive value ";
          cin &gt;&gt; sales;
      }
      return sales;
  }
  
  // Function getHighest
  void getHighest()
  {
  
  
  
  }
  </code></pre>