Skip to content
Advertisement

how to make a guess number game?

im trying to make a guessing game, user can input the level she wants, if 1 just numbers between 1,9 and if 2 between 10,99 otherwise between 100,99… here is my code:

JavaScript

problem is when i input 1 or 2 or 3 it always returns a 3digit question like 395 + 341 — anyway the other problem is i want to ask 10 questions and also for each question if user inputs the answer 3 time false, program will give the user correct answer and keep asking other question

Advertisement

Answer

JavaScript

Hope this code works.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement