allinworld99 recommended yous to larn 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 status matched");
}
Example Program:- (Editor)
Editor is Loading...
Advertisement
Tags:
if else if hence else inwards allinworld99, allinworld99 inwards if else if hence else
Tidak ada komentar:
Posting Komentar