if statement

     If the condition is true the if statements are executed otherwise the next statement will execute.

Syntax

     if(condition)

     {

        Statements;

     }


Flow chart
if statement flowchart


Example

   if(10<50)

   {

      alert("Executed");

   }



Example Program:- (Editor)


Editor is Loading...

Advertisement




Tags:
if statement in javascript allinworld99, if statement in java allinworld99, if statement in c, if statement in cpp, if flow chart in allinworld99,

Nhận xét

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

How to find motherboard model, version and serial number?