title: Write a method called replace3sWith4s() that takes an integer array, and changes any element that has the value 3 to instead have the value 4
body: <p>Write a method called replace3sWith4s() that takes an integer array, and changes any element that has the value 3 to instead have the value 4.</p>
  
  <p>need to include a for loop aswell</p>
  
  <pre><code>void replace3sWith4s (int [] x) {
      for (int i = 0; i &lt; x.length; i++) {
          if (x[i] == 3) {
  
          }
      }
  }
  </code></pre>
  
  <p>heres my code at the moment what else do i need to do??</p>
  
  <p>using java</p>