Examples of creating, assigning, and extracting two-bit arrays:
Two-dimensional array exercises: Chinese mathematics foreign language A total of three lessons, a total of nine people, input into a two-dimensional array
To define a collection and add data examples:
Example of removing data:
Example of removing a data index to a number:
There are several sets of data examples in the calculation data:
Collection of Exercises:
Practice One: Enter the number of people, input scores, stored in the collection, and then read out, to find the average score
Exercise two: Enter the number of people, enter each person's score, ask for the average score, and sort, ascending
Exercise three: Enter the number of people, enter each person's score, calculate the average score, arranged in descending order
Examples of statements for collections:
Example one: emptying all data in the collection
Example two: Viewing the index of the first 12 data in a collection
Example three: Create a new collection and copy the data from the previous collection to the new collection and determine if there is a single data in the new collection
Two-dimensional arrays, collection examples, and exercises