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
Used keywords: +

Input


Output

compatible programing languages:
Basic | Visual Basic .NET | FreeBASIC | C | C++ | Visual C++ .NET | C# | Java | JavaScript | Object Pascal | Pascal | Free Pascal | PHP

Examples

Example

addition the possible of use:
x = 95 + 5;     // x=100
y = 100 + x;    // y=200
z = (x+y+30)+3; // z=333

Example

even one example in what situations we can use the operation addition:
i + 5
15 +7.5
(100 + i +8  ) +2

Example

Other pieces of example codes:
(x * 2 / y +5)
i= i+2
(x * 2 div y +5)
(j + 10)
x == y + 3
8 + 12

you can find it in the following collections: arithmetic operators
Languages: en hu cz sk