Upgrade to access all content for this subject
Consider the following short program:
1. pi ← 3.14159
2. r ← INPUT()
3. a ← pi * r * r
4. DISPLAY (a)
In the program above, line 3
is a statement.
is an expression.
is both a statement and an expression.
is neither a statement nor an expression.