flow chart with example for if then else...if

     The if...Then...else statement is fundamental to many programming languages. In Intent language, this statement can appear in several different forms.
     allinworld99 recommended you to learn logical wise concept.

Syntax

   if(condition)

  {

    statements;

  }

  else if(condition)

  {

    statements;

  }

  else

 {

    statements;

  }


Flow Chart:


if then else if flow chart


Example:

if(6<10)

{

   alert("10 is big");

}

else if(10<15)

{

   alert("15 is big");

}

else

{

   alert("No condition matched");

}





Example Program:- (Editor)


Editor is Loading...

Advertisement



Tags:
if else if then else in allinworld99, allinworld99 in if else if then else

0 nhận xét:

Đăng nhận xét