Tuesday, June 7, 2022

array

what is an array?

array is special variable ,which can hold more than one value at a time.

example:

car1 = " ford "

car2 = "bmw"

car3 ="volvo"

EXAMPLE:

modify the value of the first array item:

cars[0] = "toyota"



No comments:

Post a Comment