Logical command, which is not true or false.
The specific methods and steps are as follows:
1. if ():
Belong to the logical type, is not true is false, this time we basically write the program, there will be two selection direction, see the following figure shows:
2, as shown above, if the command is a logical type of data, and there are two output direction, when we fill in if the command is true, then our system will show the output is really one, the contrary is false.
3, if () command when we write the program belongs to the commonly used commands, he in the runtime we need to give him a condition, then can output content, with the conditions we run to give him an output direction,
The above is a small set to introduce 0 basic easy language Introductory course (vi) of the logic of the command of the relevant knowledge, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!