Question: Write a javascript program that will create and use an array and a loop to prompt the user to enter then names of 5 restaurants.
Write a javascript program that will create and use an array and a loop to prompt the user to enter then names of 5 restaurants. Use another loop to move through the array and display the 5 restaurant names.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
