+ 1
//Two-way statement are the basic decision statements which will result in either true or false.
This can be implemented using ifâŚelse statement. An ifâŚelse statement is a paired statement used to selectively execute code based on two alternatives.
If(valid expression) {
If true if codes
}
Else{
If false false codes
}