0 Basic Easy Language Introductory course (vi) Logical command _ Easy language

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.