JavaScript assignment #3
Problem #1: You are depositing money in an account. You deposit different amounts each week. No deposit can be over $300. When you have deposited $1000 you want to end the program and tell how many weeks it took to reach the goal and the total amount of the deposits.
Problem #2: Set up an array for 5 cities you would like to visit. You should put up a prompt and ask
the user to enter a number between 1 and 5. You should then use that number to extract one of the 5 cities
from the array and write it on the screen. Then ask if the user wants to visit another city. If the user
says Y prompt them for another number. If the user says N end the script.
Problem #3: Write the Rock, Paper, Scissors game. Once you have told the player whether they won or the
computer won, you need to ask if they want to play again.