title: Multiply each number in an array by n - java
body: <p>Is there a way which i can multiply each number that is stored within an array by n. </p>
  
  <p>For example, </p>
  
  <pre><code>public static int [] intArray = new int [] {1,2,3,4,5,6,7};
  </code></pre>
  
  <p>n = 3</p>
  
  <p>it should output: 3, 6, 9, 12,15,18, 21.</p>
  
  <p>I'm not sure how to do this, help would be appreciated! </p>