trying to create Create an array containing the names of at least three (3) fast food items and then, using a ‘for’ loop, display the array name, index number, and food item as shown below.
Fast Foods
fastFoods[0] is pizza
fastFoods[1] is burgers
fastFoods[2] is french fries
I can get the array but not the for to display like this.
Aucun commentaire:
Enregistrer un commentaire