Basics of C Programming

⯈Basic C Programs


Flowchart is a diagrammatic representation of step-by-step solution of a problem. We can say flowchart as a pictorial representation of an algorithm. It shows the flow of the program, the control of the program as we execute the program step by step (line by line).

There are different symbols that we use to draw the flowchart, they are:




Oval is used to indicate the start or end of the flowchart.

input output flowchart

Parallelogram is used to read/write (take input / write output)

rectangle for flowchart

Rectangle is used to indicate the processing.


Diamond is used to indicate the decision.

Flow control flow chart

Flow of control is used to indicate how does control flows.

Annotation flow chart

Annotation is used to ask questions (write comments)

Connector flow chart

Connector is used to connect different parts of the flowchart.

Example: Flowchart to add two numbers

flowchart sum two numbers

In this section we have seen how we write an algorithm and flowchart. Let us see the step-by-step manner with some elementary problems.

Scroll to Top