Using Relational Operators : Operator « JSP « Java






Using Relational Operators


<HTML>
  <HEAD>
    <TITLE>Using Relational Operators</TITLE>
  </HEAD>

  <BODY>
    <H1>Using Relational Operators</H1>
    <%
        int temperature = 70;

        if (temperature < 80) {
            out.println("Just right.");
        }
     %>
  </BODY>
</HTML>
           
       








Related examples in the same category

1.Adding value
2.Checking Operator Precedence
3.Using Logical Operators
4.Addition and Subtraction
5.Multiplication and Division
6.Incrementing and Decrementing
7.Using Operators