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

Nhận xét

Bài đăng phổ biến từ blog này

How to find motherboard model, version and serial number?