while name < > “”
Sorry. Not all correct.
INPUT name
friends[number] = name
Well done! All correct.
number = number + 1
Arrays
Catherine wants to store the names of all her friends and has decided to use an array to store them.She is writing a program that will ask her to input a name and then store it as the next element in the array until she leaves the input blank. Drag the statements from the stack at the right of the screen to their correct positions at the left to show the code that she should write. Then press the Check button.
Show
number = 1
Check