If it's above him, it's paired with the nearest unpaired one.
Such as judging triangles.
If ((a+b >; C) and amp&(a+c >; B) and&(b+c > a))
if((a==b)||(a=c)||(b=c))
Printf ("This is an isosceles triangle")
General form of if statement:
The general form of the if statement is as follows:
If (expression) statement 1
The "expression" in the if statement can be relational expression, logical expression or even numerical expression. Among them, relational expression is the most intuitive and easy to understand.
If less than, execute the sentence block in the judgment. If it is greater than or equal to, the next elif is judged to determine whether the parameter is less than 25. If it is less than, the conclusion of the two judgments is that the body mass index is greater than or equal to 18.5 and less than 25, and then the sentence block in elif can be executed. By analogy, if the first elif is wrong, it means that the body mass index is greater than or equal to 25, and at the same time, the second elif is judged to determine whether the parameter is less than 30. If it is less than, it can be inferred that the body mass index is greater than or equal to 25 and less than 30.