Programs are built from statements
Programs are built from statements

An algorithm is a precise set of steps for solving a problem, and a program is that algorithm written so a computer can run it. A statement is one instruction, such as assigning a value, making a choice, or repeating a block.