title: c++ array any two terms are equal
body: <p>In an array, how do I check if any two variables are equal in something like  </p>
  
  <pre><code>total_milk[7] = { b_milk, e_milk, d_milk, g_milk, a_milk, m_milk, h_milk };
  </code></pre>
  
  <p>without using casework</p>