How to multiply each Int value in an array by a constant in Swift?
<p>Say, I have an array <code>[20, 2, 3]</code><br>
How can I multiply each Int value of this array in Swift?<br>
So 2 x array becomes <code>[40, 4, 6]</code>, 3 x array becomes <code>[60, 6, 9]</code> and so on?</p>