Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

1. Traditional and modern methods of preserving food Articles ?

Answered: 1 week ago

Question

What is sociology and its nature ?

Answered: 1 week ago

Question

What is liquidation ?

Answered: 1 week ago

Question

Explain the different types of Mergers.

Answered: 1 week ago