top of page
Search
zakariyesahid96

Logical and, or logical and logical not

  • Logical and requires both sides to be true, whilst using two two ampersands.

  • An example is true&&=true

  • if its true and false it would return as false.

  • Logical or is when if one side is true and entire thing is true.

  • The || pipe character is used for example true || true=true.

  • False would show if both are false.

  • Ampersand is used to change between range like change of age.

  • Logical not is when an expression is true if expression is false.

0 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page