title: change value from array
body: <pre><code> int main()
    {
  
     int Count, Sum = 0;
     int Group[10];
  
      cout &lt;&lt; "-303 to stop\n";
  
       for(Count = 0; Count &lt; 10; Count++) {
       cout &lt;&lt; "Enter a value: ";
       cin &gt;&gt; Group[Count];
         if(Group[Count] == -303)
       break;
       }
  
       int T;
  
        for(T = 0; T &lt; Count; T++)
        Sum += Group[T];
  
        for(T = 0; T &lt; Count; T++)
        cout &lt;&lt; "Value[" &lt;&lt; T &lt;&lt; "]= " &lt;&lt; Group[T] &lt;&lt; endl;
      }
  </code></pre>
  
  <p>How can I change each of the values from this array? Suppose I want to multiply each value by 2 for example.</p>