Answers for "add two numbers in php"

PHP
2

add two numbers in php

<?php  
$x=15;  
$y=30;  
$z=$x+$y;  
echo "Sum: ",$z;  
?>
Posted by: Guest on May-03-2020
0

sum two numbers in php

<?php  
$x=10;  
$y=20;  
$z = $x + $y;  
echo "Sum of x and y : ". $z;  
?>
Posted by: Guest on April-19-2021

Code answers related to "add two numbers in php"

Browse Popular Code Answers by Language