Inside the code editor we've tried to write a for loop that greets every student in the students array.
So when we ran the code, we expected it to print:
Welcome, Andy
Welcome, Sally
Welcome, John
but it seems like we made some mistakes because when we run our code, it produces errors.
Assignment:
Your task is to fix our loop such that no errors will be produced and it will print the desired output.
Free plan: 30 tutor messages. Premium is unlimited.
Saved
Ctrl + Enter to check