Expression evaluation is a crucial part of algorithms. First, an expression consists of one or more identifiers or literals separated by an operator. We say that the value of the literal 5 is itself. An arithmetic expression is an expression that evaluates to a numeric value. A Boolean expression is an expression that evaluates to be true or false.
TRUE is a constant that denotes true.
In this algorithm, we have encountered many of the important statements and control structures in programming. We can characterize an algorithm as consisting of either elementary or composite components. The elementary components are the statements for reading, printing, assigning, and doing arithmetic or logical expression evaluation. The composite components of an algorithm are those that denote a sequence, a selection, or an iteration.