Logical operator

Logical operator – mantiq operatori.

Logical operators:

&& – AND
|| – OR
! – NOT

&&(AND)
True and True = True
True and False = False
False and True = False
False and False = False

||(OR)
True or True = True
True or False = True
Fa…


This content originally appeared on DEV Community and was authored by Sanjar Rashidov

Logical operator - mantiq operatori.

Logical operators:

  1. && - AND
  2. || - OR
  3. ! - NOT

&&(AND)
True and True = True
True and False = False
False and True = False
False and False = False

||(OR)
True or True = True
True or False = True
False or True = True
False or False = False


This content originally appeared on DEV Community and was authored by Sanjar Rashidov


Print Share Comment Cite Upload Translate Updates
APA

Sanjar Rashidov | Sciencx (2024-11-02T09:45:02+00:00) Logical operator. Retrieved from https://www.scien.cx/2024/11/02/logical-operator-2/

MLA
" » Logical operator." Sanjar Rashidov | Sciencx - Saturday November 2, 2024, https://www.scien.cx/2024/11/02/logical-operator-2/
HARVARD
Sanjar Rashidov | Sciencx Saturday November 2, 2024 » Logical operator., viewed ,<https://www.scien.cx/2024/11/02/logical-operator-2/>
VANCOUVER
Sanjar Rashidov | Sciencx - » Logical operator. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/11/02/logical-operator-2/
CHICAGO
" » Logical operator." Sanjar Rashidov | Sciencx - Accessed . https://www.scien.cx/2024/11/02/logical-operator-2/
IEEE
" » Logical operator." Sanjar Rashidov | Sciencx [Online]. Available: https://www.scien.cx/2024/11/02/logical-operator-2/. [Accessed: ]
rf:citation
» Logical operator | Sanjar Rashidov | Sciencx | https://www.scien.cx/2024/11/02/logical-operator-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.