Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- </head>
- <body>
- <?php
- $a=5; $b=10; $c=7;
- if(($a>$b)&&($a>$c))
- echo "The Maximum is ".$a;
- if(($b>$a)&&($b>$c))
- echo "The Maximum is ".$b;
- if(($c>$a)&&($c>$b))
- echo "The Maximum is ".$c;
- echo"<br>";
- if(($a<$b)&&($a<$c))
- echo "The Minimum is ".$a;
- if(($b<$a)&&($b<$c))
- echo "The Minimum is ".$b;
- if(($c<$a)&&($c<$b))
- echo "The Minimum is ".$c;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement