Write a pseudocode program that creates an array, prompts the user to enter five cities, and displays the array's contents. The array contains five elements. Use a For loop to prompt the user to enter cities, and then use another For loop to display the contents. Save the file as cityArray.txt. Hands-On Activity 10-2 Convert the algorithm you wrote for Hands-On Activity 10-1 to a JavaScript program, and test your program. Save the file as city Array.html:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here