Sunday, February 24, 2013

If Statement in JPS

<!DOCTYPE html>
<html>
    <body>
        <%
            int x=3;
            int y=3;
           
            if(x>y) out.print("x is greater than y");
            else if(x<y) out.print("x is less than y");
            else out.print("x is equal to y");
        %>
       
    </body>
</html>

No comments:

Post a Comment