allinworld99 recommended you to learn logical wise concept.
Syntax
   if(condition)
  {
    statements;
  }
  else if(condition)
  {
    statements;
  }
  else
 {
    statements;
  }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