+ 3
Why do we use arrays?
Good day, comrades. Explain in what real situations arrays are used?
5 Answers
+ 3
World Kortu if you would like to store your grade marks , you would go with int or double... what if you would like to store 10 different subjects' grade marks. you can go with ten variables of int or double type... this can be tedious as you have to manage ten variables.. these can be easily achieved by help of array
+ 2
It keeps the code concise comrade.
0
We use them to store data of the same type and category (an array of studentsâ grades for example) in one place so we can access it more easily and keep the code cleaner and more organised.