title: Finding the First and Third Quartiles
body: <p>What I want to do is get the middle of each half of my number.
  So what I have already created is a way to get the middle of the number (The median in math terms) here;</p>
  
  <pre><code>    public static String Find_Median()
      {
          double Size = list.Count;
          double Final_Number = 0;
          if (Size % 2 == 0)
          {
              int HalfWay = list.Count / 2;
              double Value1 = Convert.ToDouble(list[HalfWay - 1].ToString());
              double Value2 = Convert.ToDouble(list[HalfWay - 1 + 1].ToString());
              double Number = Value1 + Value2;
              Final_Number = Number / 2;
          }
          else
          {
              int HalfWay = list.Count / 2;
              double Value1 = Convert.ToDouble(list[HalfWay].ToString());
              Final_Number = Value1;
          }
          return Convert.ToString(Final_Number);
      }
  </code></pre>
  
  <p>That gets the exact middle number of all the numbers in the list, even if its got to middle it does that math also.
  I want to do that on both sides; here's an example;</p>
  
  <pre><code>3 2 1 4 5 6
  </code></pre>
  
  <p>The middle (median) of that list is 3.5.
  I want to use math to find 2, which is between the start and the middle of the equation. also known as Q1 in the IQR. I also want to know how I can find the middle number between the median (middle) and the end, which is 5.</p>
  
  <p><img src="https://i.stack.imgur.com/Yr3P7.jpg" alt="enter image description here"></p>
  
  <p>I.E. So i can find 70,80 and 90 with code.</p>