04-If Statement


This Visual Basic tutorial is all about If Statement.

The If statement is a conditional logic branching in computer programming. It contains the true and false statement in a computer terminology.  The true statement evaluates a nonzero value while the false statement evaluates a zero value.


This conditional logic is not just for computer programming but this can be also used in your daily life without realizing you’re doing it.

For instance, if you know how to catch fish then you have something to eat for the day but if not, you will be hungry the whole day.
Here’s the example of if and else statement:


Readers might read also:




Facebook Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.