js Generate one random number from range 1 to 20 Take one input from user in prompt Provide 3 chance to users Match User input and generate number If user win 2 times than its win Else loose Hint> use math.random Use array and prompt code example
Example: write a program to match a no. which is entered by user with random number .If both numbers are matched then you win otherwise you lose
write a program to match a no. which is entered by user with random number .If both numbers are matched then you win otherwise you lose