Computers for Smart People by Robert S. Swiatek - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

The variable

            first-name

is similar to

            last-name

except that it only has 15 characters.

            middle-initial

is a single character, so we could have spelled this out as

            character(1)

but

            character

represents a single position as well. The next four fields mirror the others above them, as they are either

            character

or

            integer.

Note that both variables

            account-number

and

            zip-code

could have been defined using the keyword

            character

rather than

            integer

since each number is included in the character set. The last line