Answered step by step
Verified Expert Solution
Question
1 Approved Answer
. Write a JavaScript program where the program takes a random integer between 1 and 10, the user then prompted to input a guess number.
. Write a JavaScript program where the program takes a random integer between 1 and 10, the user then prompted to input a guess number. If the user input matches the guess number, the program will display "good work, otherwise, it will display "not matched". Hint: use alert() function to pop out text message. Use Prompt() for user input. E.g. var gnum = prompt('Guess the number between 1 and 10
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started