Swipe to navigate through the chapters of this book
Prior to this chapter, we talked about four types of data: integer, float, string, and Boolean. But imagine that you want to represent a lot of data—for example, the names of all the students in a class, or better yet, the names of all students in a school, or a city, or a state. So far, our definition of a variable allows us to only represent a single piece of data. Therefore, if we wanted to represent a group of students’ names, we would do something like this.
Please log in to get access to this content
To get access to this content you need the following product:
- Sequence number
- Chapter number
- Chapter 7