0
Can any body help me in java script?
6 odpowiedzi
0
what is it you need help with?
+ 1
topic
+ 1
which topic u need help?!
+ 1
"if" is know as condition making statement
and "else" is known as false condition of it
//example:-
if (a<b)
{
alert ("greatest");
}
else{
alert("smalest");
}
"switch case"
it is a very useful and can be used in menu type programming
example:-
//
switch(a) //"a" is the variable
case 1:
alert("first type");
break;//to stop or break it.
case 2:
alert("some message");
break;
// and so on.
0
the deferent between if and switch
dom
i think i need to learn it from A to Z
0
thank you Ethan