Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Basic CDA College Limassol Campus COM123 Visual Basic Programming Semester C Lecture:Pelekanou Olga Week 4: Understand and implement Decisions.

Similar presentations


Presentation on theme: "Visual Basic CDA College Limassol Campus COM123 Visual Basic Programming Semester C Lecture:Pelekanou Olga Week 4: Understand and implement Decisions."— Presentation transcript:

1 Visual Basic CDA College Limassol Campus COM123 Visual Basic Programming Semester C Lecture:Pelekanou Olga Week 4: Understand and implement Decisions

2 Objectives  Describe mathematical, logical, and comparison operators.  Use arithmetic, logical, and comparison operators to create formulas and evaluate conditions.

3 3 Using Conditional Expressions  What Are Conditional Expressions?  How to Use Arithmetic Operators  How to Use Comparison Operators  How to Use Logical Operators  How to Combine Comparison and Logical Operators

4 Using Conditional Expressions  When you write applications in Microsoft Visual Basic.NET, you need to write expressions that the computer can evaluate. Expressions that evaluate to True or False are called conditional expressions. This lesson explains how to build conditional expressions by using basic arithmetic, comparison, and logical operators. 4

5 What Are Conditional Expressions?

6 Test Conditions

7 Examples of conditional expressions

8 How to Use Arithmetic Operations

9 Arithmetic Operators

10 Syntax

11 How to Use Comparison Operators

12 Boolean Values

13 Comparison operators

14 Syntax 14

15 Example of using comparison operators 15

16 Example of Comparing Strings 16

17 How to Use Logical Operators 17

18 Logical Operators 18

19 Logical Operators 19

20 Syntax. Examples of Logical Operators. 20


Download ppt "Visual Basic CDA College Limassol Campus COM123 Visual Basic Programming Semester C Lecture:Pelekanou Olga Week 4: Understand and implement Decisions."

Similar presentations


Ads by Google