Types of Flowcharts

You might also like

Download as odt, pdf, or txt
Download as odt, pdf, or txt
You are on page 1of 3

Types of Flowchart structures:

1.Sequential Flowchart
Algorithm:
1.Define the Variables(Let A be the first number and B
as the second number,C for the product)
2.Initialize the values to be used: A=0, B=0, C=0
3.Input Values for A and B
4.Calculate the product of the two numbers C=A*B
5.Output the Product.

2.Selection Flowchart
Algorithm:
1.Define the Variables (Let G be the grade of the student)
2.Initialize the variables to be used.
3.Input the student's grade
4.Test if G is greater than or less than 75
5.If G is greater than or equal to print “Passed”
and if it is less than 5 print “Failed”
Repetition Flowchart
Algorithm:
1.Define the variables to be used.(Let x be the
counter)
2.Initialize the counter x=1
3.Test the value of x. If the value of x<5 Print
“Hello”, else end of program.
4.Increment x (x=x+1)
5.Repeat step 3.

4.Modular Flowchart
Algorithm:
1.Define the Variables
(A and X is the used variable in this flowchart)
2.Initialize counter A=0, X=0
3.Input A, X then Adds to A
4.If X>5 it is True and it outputs the product, else if
X<5 then it is false and it the data loops back and
gets added sum of 5 until product is X>5.
Types of Flowchart
structures

By:Adrielle Maurice S. Adriano


BSIT 1B-G1

You might also like