explain the use of IF----------- then statement in VB with the help of an example
Answers
Answered by
1
Answer:
The if statement allows you to control if a program enters a section of code or not based on whether a given condition is true or false. One of the important functions of the if statement is that it allows the program to select an action based upon the user's input.
Answered by
0
Explanation:
Syntax of Visual Basic If-Else-If Statement
In case, if none of the conditions return true, then the code inside of Else block will be executed. Following is the simple example of using If-Else-If statement in Visual Basic programming language. ... In case if no condition is matching, then the else block will be executed.
Similar questions