<html>
<head>
<title></title>
</head>
<body>
<?php
$n1=20;
$n2=10;
$add=$n1+$n2;
$sub=$n1-$n2;
echo "Addition of n1 and n2 is: "." ".$add;
echo "<br/>";
echo $sub;
?>
</body>
</html>
<head>
<title></title>
</head>
<body>
<?php
$n1=20;
$n2=10;
$add=$n1+$n2;
$sub=$n1-$n2;
echo "Addition of n1 and n2 is: "." ".$add;
echo "<br/>";
echo $sub;
?>
</body>
</html>
No comments:
Post a Comment