Basic - Addition: +
Addition is a matematical operation, it can be used for integers and real numbers. addition is an associative operation, therefore order of operands is important.+
Description
par1 + par2
Input
- par1 - Any number
- par2 - Any number
Output
- Result - Numbers
Examples
Basic
Addition the possible of use:x = 95 + 5 ' x=100
y = 100 + x ' y=200
z = (x+y+30)+3 ' z=333
Basic
Even one example in what situations we can use the operation addition:i + 5
15 +7.5
(100 + i +8 ) +2
Basic
Other pieces of example codes:y=y+1
i=i+1
(2.5 / 2 + 1.25) + 2
x = y + 3
8 + 12
(x * 2 \ y +5)
You can find it in the following collections: arithmetic operators
Addition in another programming language: