IMind soft

Author's software

Development

Design

Designing

Being tested

The if statement and conditions

Writing operator

if (condition) <execution>

Where, under the condition is implied in the expression or function, or condition, an example: x*2<4 z*sin(x)>y

Under the <execution> implies the statement or block of statements (separated by ";") enclosed in braces, which will run.

 

Conditions and actions:

Action The designation in text
Equal ==
Assign =
Not equal !=
More >
Greater than or equal to >=
Less <
Less or equal <=
Logical AND &&
Logical OR ||
Not !
Modulo %
Summation +
Subtraction -
Multiplication *
Division /

 

 

Top.Mail.Ru