Develop a javascript solution to the follow problem create


Develop a JavaScript solution to the follow problem: Create a program that asks a user for a number between 1 and 100, the program should then output to the user higher, lower, or correct, depending upon the input from the user and the random number assigned to the number to be guessed. Once the user is correct, the program should print off the correct answer, but also the number of times the user was incorrect. The program then should ask if the user would like to play again, and if so start the game again, and when correct subsequent times, compare the users high score with their current score, providing an output to state such, as "Great job you guessed 3 less times!", or "Whoops, you need 2 more guesses this time :(".

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Develop a javascript solution to the follow problem create
Reference No:- TGS01281890

Now Priced at $30 (50% Discount)

Recommended (98%)

Rated (4.3/5)