Mask-group

If statement



  • The general form of if statement is-

if (this condition is true)

  • execute this statements;

If the condition,whatever it is,is true,then the statement is executed.If the condition is not true then the statement is not executed,instead that part of the program is skipped.