Print the following 1 2 3 4 Bus 6 7 8 9 bUs 11 12 13 14 buS : <pre><code>Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
for(i=1; i&lt;=n; i++)
{
    if(i%3==2 &amp;&amp; i%5==0)
    {
        System.out.println("Bus");
    }
    if(i%3==1 &amp;&amp; i%5==0)
    {
        System.out.println("bUs");
    }
    if(i%3==0 &amp;&amp; i%5==0)
    {
        System.out.println("buS");
    }
System.out.println(i+" ");
}
</code></pre>

<p>The above program is also printing the number 5,10,15 but these should not print     </p>
