control statements the conditional expression


CONTROL STATEMENTS 

The conditional expression uses a comparison operator that results in true or false value. If the comparison is valid the outcome is true, or else the outcome is false. Here's an easy conditional expression:

Price < 100

If the Price variable holds a value that is less than 100, the expression computes to True. If the Price holds a value that is greater than or equal to 100, it computes to False. You can use the comparison operators shown below to create the conditional expressions:

Comparison Operators:

= Equal to

< > Not equal to

> Greater than

< Less than

> = Greater than or equal to

< = Less than or equal to

If then Else, Select case, For.. Next repetition statement, Do While loop statement and Do until the loop control statements are elaborated.

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: control statements the conditional expression
Reference No:- TGS0173313

Expected delivery within 24 Hours