Translate

Monday, May 5, 2014

5. Conditional Statement

Conditional Statement is we use it for any test condition, and it has the following form:
If Statement
common forms 
if(condition){
code to be execute if condition is true
}

example
៥. Conditional Statement

if ... else statement

?
if(condition){
code to be execute if condition is true
}
else{
code to be execute if condition is not true
}
example
៥. Conditional Statement


0 comments:

Post a Comment