Question: Exercise In this exercise, you will need to add numbers and strings to the correct arrays. You must add the numbers 1 , 2 ,
Exercise
In this exercise, you will need to add numbers and strings to the correct arrays. You must add the numbers and to the "numbers" array, and the words 'hello' and 'world' to the strings array.
You will also have to correct the values of the variable NumberOfNames and the variable secondname. NumberOfNames should hold the total number of names in the NAMES array, using the $# special variable. Variable secondname should hold the second name in the NAMES array, using the brackets operator Note that the index is zerobased, so if you want to access the second item in the list, its index will be #binbash
NAMES John Eric Jessica
# write your code here
NUMBERS
STRINGS
NumberOfNames
secondname'Vladimir'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
