GELECEĞİ YAKALA PROJESİ 21. YY. BECERİLERİ ETKİNLİK PLANLARI "Cartch the Future" Project Result | Page 81
“CATCH THE FUTURE ”ACTIVITY PLAN
What's an array?
An array is a custom variable that can hold more than one value at a time. Basically it
means; Instead of creating names1, name2, name3, name4, and name5 to store five
usernames, we can use the name to store all five usernames. The way to store multiple
values is to use what is called an “index.. For example; name [1], name [2], name [3],
name [4], and name [5] can each store a value. The numbers 1, 2, 3, 4 and 5 are called
indexes for the array.
Although name [1], name [2], name [3], name [4] and name [5] appear to be different
variables, in reality all of these are only one variable.
When the program is run;
Arrays are also very useful in “loops ağ which we will use later.
Array the number of variables contained in the arrays. GetItemCount ”code.
[2017-1-TR01-KA101-037764] the “Catch the Future” Project under contract number Erasmus+ is supported by the European
Commission. However, the European Commission and the Turkish National Agency cannot be held responsible for the views
contained herein.