Flowcharts are the diagrammatic representation of an algorithm. As an algorithm, a flowchart is also a program-planning tool to solve a specific problem.