title: How to enter multiple values without some sort of array
body: <p>So basically I'm taking an intro tp programming class and we've been taught the basics (loops, if statements, variable types etc.) I'm solving a program where I have to ask the user to enter 6 different temperature values, and then print out the maximum, average and range of the 6 values. </p>
  
  <p>How and where should I store these 6 numbers? </p>
  
  <pre><code>cout&lt;&lt; "Enter 6 diff numbers" &lt;&lt; endl;
  float numbers;
  cin &gt;&gt; numbers;
  
  for ( .... i_++)
  
  max = ;
  min = ;
  
  
  cout &lt;&lt; .. &lt;&lt; .... &lt;&lt; endl;
  </code></pre>
  
  <p>//This should not help because float can only keep one number stored and not 6. How should I do this without using any sort of arrays, functions etc. ?</p>
  
  <p>I was thinking using substrings and declaring it like a string or something??</p>
  
  <p>Thanks for all your help. </p>