A flowchart is a device to aid a programmer in constructing an algorithm.