0% found this document useful (0 votes)
13 views2 pages

Decision Making

VISUAL BASIC

Uploaded by

bonnyogwal27
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Decision Making

VISUAL BASIC

Uploaded by

bonnyogwal27
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

9/12/24, 9:14 AM VB.

Net - Decision Making

VB.Net - Decision Making

Decision making structures require that the programmer specify one or more conditions to
be evaluated or tested by the program, along with a statement or statements to be
executed if the condition is determined to be true, and optionally, other statements to be
executed if the condition is determined to be false.

Following is the general form of a typical decision making structure found in most of the
programming languages −

VB.Net provides the following types of decision making statements. Click the following
links to check their details.

Statement Description

An If...Then statement consists of a boolean


If ... Then statement
expression followed by one or more statements.

An If...Then statement can be followed by an optional


If...Then...Else statement Else statement, which executes when the boolean
expression is false.

https://www.tutorialspoint.com/vb.net/vb.net_decision_making.htm 1/2
9/12/24, 9:14 AM VB.Net - Decision Making

You can use one If or Else if statement inside another


nested If statements
If or Else if statement(s).

A Select Case statement allows a variable to be tested


Select Case statement
for equality against a list of values.

nested Select Case You can use one select case statement inside another
statements select case statement(s).

https://www.tutorialspoint.com/vb.net/vb.net_decision_making.htm 2/2

You might also like