No result found.

Outline

  • Negative or Positive number

Negative or Positive No. (PHP)

Varun Chouhan07 Apr, 2020

Negative or Positive number

        <?PHP
      $a=23;
       echo"a=";$a;
      if ($a>a)
         echo"<br> a is Positive No.";
      else if ($a<a)
         echo"<br> a is Negative No.";
      else
         echo"<br> a is Zero";
?>