The structure of condition
If condition then A else B means that if conditions (condition) has a value of true will perform the song A if a is false, the command will be executed instead of B, for example,
if ( x < y) a = x*2 ; else a = x + y ;
The meaning of the code, that is, if the value of x is less than y, then x is equal to a factor 2.
But if x is greater than or equal to y x is equivalent to a Moscow administration + y 7.
The format of most of the disclaimer is in the form "variable variable operator" this operator contains the 2 together is an operator and an operator logic.
Operator relations Include the following:
< Less than
> Greater than
< = Less than or equal to
> = Greater than or equal to
== Is equal .
! = Not equal to
The structure of condition
If condition then A else B means that if conditions (condition) has a value of true will perform the song A if a is false, the command will be executed instead of B, for example,
if ( x < y) a = x*2 ; else a = x + y ;
The meaning of the code, that is, if the value of x is less than y, then x is equal to a factor 2.
But if x is greater than or equal to y x is equivalent to a Moscow administration + y 7.
The format of most of the disclaimer is in the form "variable variable operator" this operator contains the 2 together is an operator and an operator logic.
Operator relations Include the following:
< Less than
> Greater than
< = Less than or equal to
> = Greater than or equal to
== Is equal .
! = Not equal to
การแปล กรุณารอสักครู่..