Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 }
6th Mar 2019, 6:02 PM
Sudarshan Rai
Sudarshan Rai - avatar