Create a new function that will have the computer randomly


Create a new function that will have the computer randomly generate 4 digits for the user to try to guess the digits. Give the user 20 trys to guess the four digits. Save the guesses in an array Make sure the user's guess fall between 1-4. Apply the Switch to allow user to decide if he will guess the digits or provide the digits. Do NOT try to pass the array as a parameter. Let the array be a local varible in the function.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Create a new function that will have the computer randomly
Reference No:- TGS0632678

Expected delivery within 24 Hours