Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hey, I’m creating a Math quiz, the instruction on how the math quiz is supposed to be like is in the link below, I’m having trouble with level 4 (Let the user set the minimum value and maximum value of the random numbers). I have my program in one of the links below. Please help me out as soon as possible. If you can, can you make the changes in ghostbin and sent the link to me. I’m a visual learner so I need to see the changes visually. Please and thank you.

(Link for Instruction)-https://docs.google.com/document/d/e/2PACX-1vTyRnS-PiENEWggx9EREjwZQAjwWQE4TVG2KxbFMXR42rhZrHZY0c2sv-eKE-M4f5Y6E9_W2RzP_uA4/pub

Link for program: https://ghostbin.com/paste/adebm

What I have tried:

// caching direct references to Math methods

const random = Math.random;
const floor = Math.floor;

var user, min, max;

// prompt for input

user = prompt("Enter space separated MIN and MAX values:");
user = user.split(' ');
min = +user[0]
max = +user[1]
Posted
Comments
CHill60 23-Nov-18 3:52am    
You are not going to get many people following links to read through your code I'm afraid.
We do this in our spare time so it's best to be specific ... follow the posting guidelines - post the specific code you are struggling with and explain what the problem is ... Some guidelines for posting questions in the forums[^]

A couple of other hints for getting better responses:
- Don't put the words "quiz" or "assignment" or "exercise" in the title of your question - most members won't even bother to read it because it sounds like homework.
- Don't use phrases like "as soon as possible" or "urgent" - those are other things that make it sound like (late) homework and frankly, we don't much care that you've left it too late to do your assignment.
- If you are going to include a link consider that many of the experts will actually be trying to help out during their lunchbreak or similar - and many of the file hosting sites will be blocked by their company firewall!
Good luck.
[no name] 23-Nov-18 19:14pm    
I'd like everybody to note that this "clown" has been posting the same question to multiple forums all over the internet, thereby wasting a massive amount of "volunteer" time.

Let all know that this jerk is a "help vampire" and should be ignored.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900