Advertisement
Virajsinh

PhP_02

Jan 26th, 2018
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <html>
  2. <head>
  3.         <title> Second Example </title>
  4. </head>
  5. <body>
  6.  
  7. </body>
  8. </html>
  9.  
  10. <?php
  11.     $a=10;
  12.     $b=20;
  13.    
  14.     echo "A Value :".$a;
  15.     echo "<br>";
  16.     echo "B Value :".$b;
  17.     echo "<br>";
  18.    
  19.     echo "Addition : ".($a+$b);
  20.     echo "<br>";
  21.     echo "Subcripation : ".($a-$b);
  22.     echo "<br>";
  23.     echo "Multiplication : ".($a*$b);
  24.     echo "<br>";
  25.     echo "Division : ".($a/$b);
  26.     echo "<br>";
  27.     echo "Modul : ".($a%$b);
  28. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement