Monday, 26 August 2013

ADDITION IN PHP TUTORIAL 5

You don't have to use variable names to add up. You can do this:
print (10 + 20 + 30);
Or even this:
$number = 10;
print ($number + 30);
But the point is the same - use the plus symbol (+) to add up.

In the few next parts, you'll learn how to Subtract, Divide and Multiply.

similarly u can do for multiplication, addition,sub,division.

No comments:

Post a Comment