Array Elements Access

I like Tata

Use Count function(all Array Elements Access)


Volvo
BMW
Toyota
Lamborghini
Hero
Suzuki
Bajaj
Royal Enfield
KTM
Bulero

Use Foreach loop(Only Array Elements Access)


Volvo
BMW
Toyota
Lamborghini
Hero
Suzuki
Bajaj
Royal Enfield
KTM
Bulero

Array number accending


After Sorting the array element
15
28
31
33
49
57
64
70
72
96

Array number Deccending


After Sorting the array element
96
72
70
64
57
49
33
31
28
15