What is the problem in this code this is showing (";" expected) error. PS: i m a beginner : <pre><code>import java.util.*;
class Main
    {    public static void main(String args[]){ 
    int n = 3;
    if (n%2==0){
        if (2&lt;=n&lt;=5){
            System.out.println("Not Weird");
        }
        elseif (6&lt;=n&lt;=20){
            System.out.println("Weird");
        }
        elseif(n&gt;20){ 
            System.out.println("Not Weird");
        }

    }
    else{
        System.out.println("Weird");
    }

       }
    }
</code></pre>

<p>// this code is showing ";" expected can somebody plz point out the mistake for me
// i m a beginner 
// this code compare a no and checks whether it is odd or even </p>
