Menu

[Solved]Need Create Bit Code Javascript Random Numbers Generate Certain Amount Digits Set User Ask Q37149208

I need to create a bit of code for javascript which I can haverandom numbers generate with a certain amount of digits set by theuser. and ask the user how many times they want this tohappen.
For example The user says they want a number with 4 digits (anynumber between 0 – 9999) and the user can input if they want toadd, subtract, multiply, divide, or make it random
2 random numbers are generated. First number 1451 and the nextnumber is 58.
If the user selects “random” the program will pick between the 4(add multiple subtract divide)
Once the numbers are made 1451 & 58 the user then needs to”add” (random pick) and the profram lets them know if they did itcorrect or not.

Say the player select they want to do this 3 times. it justrepeats the process above.
Additionally would it be possible to record the results?

Expert Answer


Answer to I need to create a bit of code for javascript which I can have random numbers generate with a certain amount of digits s… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *