title: Increase elements of array in a certain interval by a certain amount. JAVA
body: <p>I have an array A of size N. I have there integers S, E and I. I need to increment all array elements from index S to E by I.</p>
  
  <p>Values of S and E are guaranteed to be logically correct</p>
  
  <p>My attempt: </p>
  
  <pre><code>for(int i=S; i&lt;=E; i++)
  {
  A[i]=A[i]+I;
  }
  </code></pre>
  
  <p>Is there a faster way to do the same?</p>