<!DOCTYPE html>
<html>
<body>
<h5 align="right">http://csprograms4u.blogspot.in</h5>
<h2 style="color:red;" align="center" >Welcome to PHP Tutorials</h2>
<h3 style="color:blue;" align="left">Program : Algebraic Operations</h3>
<?php
$x = 24;
$y = 13;
echo "First Number = $x";
echo "<br>";
echo "Second Number = $y";
echo "<br>";
echo " Sum= $x + $y = ";
echo $x+$y;
echo "<br>";
echo " Difference = $x - $y =";
echo $x-$y;
echo "<br>";
echo " Product = $x * $y = ";
echo $x*$y;
echo "<br>";
echo " Division = $x / $y = ";
echo $x/$y;
?>
</body>
</html>
No comments:
Post a Comment
Note: only a member of this blog may post a comment.