A java script program that will randomly generate a number


A Java script program that will randomly generate a number greater than or equal to 0 and less than 50. Then, prompt the player (user) to guess the number. If the player guesses the number correctly, output an appriopriate message. Otherwise, check weather the guessed number is less than the random number generated, output the message, "Your guess is lower than the number." Otherwise, output the message, "Your guess is higher than the number."

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: A java script program that will randomly generate a number
Reference No:- TGS02657367

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)