How can I round up to the nearest multiple of the specified number?
<p>I've looked at many questions regarding rounding up to the nearest multiple of a number, but I can't understand their methods well enough to adopt them for rounding up to 45 or they use language specific methods of other languages. </p>

<p>Here is a bit more detailed explanation if the above doesn't make much sense yet:</p>

<p><strong>Example input:</strong></p>

<pre><code>int num1 = 67;
int num2 = 43;
</code></pre>

<p><strong>Expected results:</strong></p>

<pre><code>&gt;&gt;round(num1) = 90
&gt;&gt;round(num2) = 45
</code></pre>