Right now I have a array that when printed just displays what number I submitted. I would like the word "car"
to be in front of every array number. For example: I enter 1 and 2 in the array. When the array is called it would look like [car 1, car 2]
not [1,2]
.
I have added my array variable and what I am calling to print the array:
var arrayOfInt = [Int]()
label.text = String(describing: arrayOfInt)