The if-else statement is one of the widely used control flow statements while programming. It lets the program execute a set of statements enclosed within the "if" block only if the certain condition evaluates to true otherwise program executes statements of "else" block. So it provides the facility to the programmer to handle the condition based programming.
Syntax for if-else:
Read more at:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: December 18, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles