if.no

/ Conditionals / if.no

 

Title : if.no
Purpose : If provided variable is no then executes
Syntax :
Input Parameters : Provided variable is no
Return Value : Code to be executed if condition is true
Example 1 :
Code :
Output : It will display the text no!
Description : Boolean Values:
Very often, in programming, you will need a data type that can only have one of two values, like

YES / NO
ON / OFF
TRUE / FALSE

Categories
Most Popular

Leave a Reply

Your email address will not be published.