Flowchart
Flowchart: Flowchart is a graphical or diagrammic representation of a program or an algorithm. It is very helpful for the programmers. It helps the programmers to understand the basic consept of any particular program or an algorithm so that it becomes easier to write the codes and explaining to the others.Different symbol are used to explaining the codes, So have a look on the following table:
Symbol | Purpose | Description |
---|---|---|
Terminal (Stop/Start) | This is used to represent the start or the end of a flowchart . | |
Flow line | This is used to indicate the flow of a flowchart. | |
Processing | This is used for different Arithmetic operations, variable declare and excuting Statement. | |
Input/Output | This is used for Input or Output data representation. | |
Desicion | This is used for representing the Desicion. | |
On-page Connecto | This is used to join different flow line and etc. |
See the following example:
#include<stdio.h>
int main(){
int a, b,c;
scanf("%d",&a;);
scanf("%d",&b;);
c = a+b;
printf("Result= %d",c);
return 0;
}