Professional Documents
Culture Documents
Flow Chart 2
Flow Chart 2
EXAMPLES
Flowchart Symbols
Symbol Name Function
Input / output Used for any Input / Output (I/O) operation. Indicates that
the computer is to obtain data or output results
13.03.19
Problem1
Find the area of a circle of radius r
Flowchart Algorithm
Flowchart Algorithm:
start Step 1: Start
Flowchart Algorithm:
start Step 1: Start
C= A + B Step 4: C ß A + B
Step 6: End
end
13.03.19
Problem 5
Algorithm for find the greater number between two numbers.
start Algorithm:
Step 1: Start
Read A, B
Step 2: Read/input A and B
true false
If A > B Step 3: If A greater than B then C=A
Step 4: If B greater than A then C=B
Print A Print B
Step 5: Print C
13.03.19
end
? Step 6: End
Problem 5
Algorithm for find the greater number between two numbers.
Flowchart Algorithm:
Step 1: Start
start
true false
If A > B Step 3: If A greater than B
Then print A
Print A Print B
Else print B
Flowchart Algorithm:
Flowchart Algorithm:
end
13.03.19
Problem 8
start
Flowchart for the calculate
the average from 25 exam
scores which supplied user’s Sumß0, Cß0
entrance.
Enter Exam
Scores, S
Sum=Sum + S
C=C+1
no
If C<=25
yes
Av = Sum / 25
Write Av
end
13.03.19
Ex:
Write an algorithm that gives the product of two integer numbers
without using the multiplication operator and plot the flow diagram
13.03.19
Ex:
Write an algorithm that computes quotient and remainder when
dividend and divisor are given without using the division operator
13.03.19
Ex: Write an algorithm that finds the largest element in a number
array, draw the flow diagram.
13.03.19
Ex: Write an algorithm that counts how many elements are larger
than the given value in a number array.
13.03.19