1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
algol13
3 years ago
13

Why does the randomNumber function only use whole numbers between 0 and 1 (basically, 0 and 1)?

Computers and Technology
1 answer:
Bogdan [553]3 years ago
6 0

Answer:

The randomNumber function only uses whole numbers between 0 and 1 because those are the unspecified minimum and maximums to get random numbers. If you want a larger range, <em>just specify the minimum and maximum.</em>

Explanation:

<em>Example code on how to specify a larger range, replace max and min with your maximum and minimum integers.</em>

function getRandomArbitrary(min, max) {

 return Math.random() * (max - min) + min;

}

You might be interested in
Hich is an aspect of spatial-level design?
Tresset [83]

The answer is perspective, because you need a point of view (perspective) in order to make a design, a great design/

4 0
4 years ago
Read 2 more answers
DO NOW<br> 1. What are the 4 things that make a computer a<br> computer?
lana [24]

Answer:

CPU, GPU, Hard drive, Video Card

Explanation:

8 0
3 years ago
I won't to convert text to a table . what is the first step I should take ?
Studentka2010 [4]

Answer:

Use paragraph marks to indicate where you want to begin a new table row. Select the text that you want to convert, and then click Insert > Table > Convert Text to Table. In the Convert Text to Table box, choose the options you want.

Explanation:

please put me in brainlest

5 0
2 years ago
6.6 lesson practice edhesive quiz
Artyom0805 [142]

Answer:

1. 50

2. canvas.draw_circle((100,100), 50, 50, “Gray”, “Black”

3. X , Y , Radius, Line Width , Color

4. String

Explanation:

8 0
3 years ago
What feature of a switch keeps switching table entries from becoming stale?
brilliants [131]
The switch part of the switch.
6 0
4 years ago
Other questions:
  • We can see spreadsheet results graphically by creating:
    15·1 answer
  • Select
    14·1 answer
  • Which of the following data recording procedures is best used for behaviors that have a clear ending and beginning, do not occur
    12·1 answer
  • Who creates Virus ? virus is not made for what?
    14·2 answers
  • If a clean install is performed on a hard drive with a previous install of windows and the drive is not re-formatted during the
    9·1 answer
  • What other options are there besides jail for 16 year old that commit a crime?
    8·2 answers
  • Write a program that will add the content of two counters every 45 seconds and place the result in an integer register.
    7·1 answer
  • Another name of computer program is
    6·1 answer
  • Which new development in malware caused sandbox technology to automate and introduce artificial intelligence learning
    14·1 answer
  • Determine whether the compound condition is True or False.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!