Flowchart

Flowchart:
Flowchart is a pictorial representation of an algorithm. A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of the program. It uses the symbol that have standardize meanings to denote different type of instructions. Actual instructions are written within the box. Box are connected by solid line having arrow marks to indicate the exact sequence in which the instruction are to be executed.


Graphical Representation (Flowchart) symbols: 




 Example 1:

Writen an algorithm and draw flowchart to make the sum of number 5 and number 10 
and print.

Algorithm
Step 1: Start.
Step 2: Store 5 into A and 10 into B
Step 3: Calculate SUM=A+B.
Step 4: Print the value of SUM.
Step 5: Stop.




Example 2:
        write an algorithm and draw the flowchart to find the simple interest.

Algorithm
Step 1: Start,
Step 2: Input the principal amount P,rate of intrest R and number          of years N.
Step 3: Find the simple interest by multiplying P*R*N and divide      them by 100, 
      SI=(P*R*N)/100.
Step 4: Print the value of SI.
Step 5: Stop.




Example 3:

Write an algorithm to find the maximum number from  two numbers.
         
Algorithm

Step 1: Start
Step 2: Input the value of A and B.
Step 3: Check if a>b,  if yes then print "A is maximum"
                                        if no then print "B is maximum".
Step 4: Stop




   << PREVIOUS                                                                                     NEXT>> 




3 comments:

  1. Nice Blog...

    You may like to visit Flowchart webpage on blog: C Program Practicals

    ReplyDelete
    Replies
    1. For more details visit:

      http://cprogrampracticals.blogspot.com

      Delete
  2. Nice work ♥ Enjoyed

    ReplyDelete