PHP Learning : Add two numbers - Publik Talk

Breaking

An informative website for every one.

Post Top Ad

Post Top Ad

Wednesday, August 2, 2017

PHP Learning : Add two numbers

Description:

In php we declare variable using $ sign and add two variables value and store result in third variable.

Code:

<?php

$a=10;

$b=20;

$c=$a+$b;

echo "Sum: ",$c;

?>


Output:


No comments:

Post a Comment

Post Top Ad