You are on page 1of 4

DECISION APPLICATION

FLOWCHART

FLOWCHARTING
DECISION APPLICATION

Decision Application is a way for


programmers to integrate a decision-
making capability into a program to filter
situations that would lead to a solution.
-it is the sole symbol in
flowcharting that has the ability to
perform relational operations that filter
conditions to arrive at a single decision.
-It has a single input and
two-output choice characteristic. The
two-output characteristic of the symbol
is the filtering stage of a program that
determines if the set condition in the
decision symbol is TRUE or FALSE.
-Remember that in making a
decision, there is no MAYBE choice it is
only a choice between YES or NO.
Learning Exercises 1

Create a flowchart that will accept two


integers and print the higher integer.
START

A=0
B=0

input (A)

input (B)

No A>B Yes

Print (B) Print (A)

END
Learning Exercises 1

Simulation:

START
15 25
A > B
A = 15
B = 25
Variable B gets
the higher value
input (A)
25
input (B)
B

No A>B Yes

Print (B) Print (A)

END

You might also like