In Chapter 2 we introduced the idea of a scalar, which is a single value—a number or string. Having the ability to work with numbers and strings, and having scalar variables into which we can store numbers and strings is nice—this allows us to write programs to manipulate data. However, because they can contain only a single value, scalars are somewhat limited.
KeywordsScalar Variable Single Scalar Array Variable Bank Statement Shopping List
Unable to display preview. Download preview PDF.