if.yes

/ Conditionals / if.yes

 

Title : if.yes
Purpose : If provided variable is yes then executes
Syntax :
Input Parameters : Provided variable is yes
Return Value : Code to be executed if condition is true
Example 1 :
Code :
Output : It will display the text yes!
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. Required fields are marked *