An array is a list of data item inmemory that all have the same name and whose elements are differentiated by a subscript. In simple terms, an array can be anything that is a group of related numbers such as prices, phone numbers, catalog order numbers and the list goes on and on. This means that they try to make the computer do as much as possible, which makes the code for a program much shorter.
Arrays can be huge, and what person wants to input each individual variable.
This is simply a name that is given to the array. The important information is held in the array number or element. 1 to 100 signifies how many prodnum and prodscr there are. Towards the end of the program, we used this number to take out the 1st and 2nd inputs and print them on the screen. A parallel array is an array that has two or more shared informations.