Answers for "sum 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 "sum two numbers in php"

Browse Popular Code Answers by Language