Lesson 9 Decision Making in Programming
Lesson 9 Decision Making in Programming
Lesson 9 Decision Making in Programming
IN PROGRAMMING
MR. ANGELITO G.
SALAC
ICT INSTRUCTOR
•Decision making process is an important part of
programming because it can solve practical problems
intelligently and provide effective output to the user.
Programs that can ask the computer to perform certain
task until a certain condition is met.
•Decision making structures require that the programmer
specifies 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.
Conditional Operators
Conditional Operators are
powerful tools that resemble OPERATOR DESCRIPTION
may evaluate all given expressions. In addition, each Block of one or more VB
Statements
if…else… ladder statement may also compute
Case Expression list 3
entirely different dimensions. The Select Case is Block of one or more VB
preferred when there exist many different conditions, Statements