Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Arrays > One-Dimensional Arrays

One-Dimensional Arrays

There are occasions when you might need or want to use a one-dimensional array. Although there is no rule for when to use an array, some problems are better suited for an array-based solution, as demonstrated in the following list.

  • The number of pages in each chapter of a book

  • A list of students’ GPAs

  • Keeping track of your golf score

  • A list of phone numbers


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint