Generate a random number in interval [0,360) which is divisible by number 15 : <p>I am wondering how to generate a number in interval of [0,360) which would be also divisible by number 15. Examples: 0, 15, 30, 45, 50..  I can generate a number in the interval with:</p>

<pre><code>    (int)(Math.random()*360));
</code></pre>

<p>But I don't know how to make sure that the generated number is divisible by number 15. </p>
