Hey guys. So I'm doing a basic program for a battle game in Javascript, and I've having trouble on this one question. (subtraction)

If I have one number like 20, then 3 numbers such as 2, 4 and 7, I could easily find out which number in those 3 i subtracted by. For example if I had 18 as the answer, then I could do 20 - 18 and get 2 from the 3 numbers.

But how do I do that twice? or three or more after that one time? how would I know which one I picked after? (after the number is used once, it can still be used forever on, it's always random)

Answers

Answer 1

Answer:

can i show you how to do it

Step-by-step explanation:


Related Questions

You can buy 5 cans for green beans at the Village Market for $2.70. You can buy 10
of the same cans of beans at Sam's Club for $6.50. Which place is the better buy?

Answers

Answer:

Village Market

Step-by-step explanation:

for this question we need to find the unit rate (the rate for one of something).

in this case, we need to find the cost of one can at each store so we can

easily compare the cost to see which one is cheaper

it would be (total cost)/(total number of cans)

Village Market = $2.7/5 = .54 cents per can

Sam's Club = $6.5/10 = .65 cents per can

Since Village Market has a cheaper price per can, it is the better buy.

Answer:

Village Market

Step-by-step explanation:

10 cans at the Village Market is = to $5.40.

But at Sam's Club 10 cans cost $6.50 witch is $1.10 more money your paying when u can save it.

If 95 students out of 250 students choose adventure as favorite movie what is that percentage

Answers

35% this is the awesome I’m just filling

Answer:

38%

Step-by-step explanation:

38% of 250 = 95

How to solve it:

[tex]\frac{38 * 250}{100} =95[/tex]

How do I simplify 3(x-4)-5(z+2x) ?
I have it down to 3x-(-12)-5z+2x because I multiplied the first set of parenthesis by 3 and the second set by -5. The answer is -7x-5z-12 but how do I get there?

Answers

You first step was wrong. This is the correct procedure…

3(x - 4) - 5(z + 2x)

3x - 12 - 5z - 10x

From here, combine like terms.

-7x - 5z -12

Find the value of x when 6 - 2x = 5x - 9x + 20.

Answers

Hey! Answer to this is x = 7

Answer:

X = 7

Step-by-step explanation:

6-2x = 5x-9x+20

Combine like terms

6-2x = -4x+20

Isolate x

2x = 14

Divide by 2

x = 7

How to divided 2.1 by 12.6

Answers

Answer:

0.1666666666666667

Step-by-step explanation:

2.1/12.6

Answer 0.16666666666666667

A, B and C lie on a straight line segment.A, E and D lie on a straight line segment.BE = 1.8m, CD = 9m and BC = 1.7m.Work out the length of AB.Write your answer to two decimal places.

Answers

The relationship between the points is an illustration of similar shapes.

The length of AB is 0.43

The given parameters are:

[tex]\mathbf{BE = 1.8}[/tex]

[tex]\mathbf{CD = 9}[/tex]

[tex]\mathbf{BC = 1.7}[/tex]

From the question (see attachment), we have the following observations:

BE corresponds to CDAB corresponds to AC

So, the equivalent ratio is:

[tex]\mathbf{AB:BE =AC:CD }[/tex]

Substitute known values

[tex]\mathbf{AB:1.8 =AC:9 }[/tex]

Express as fractions

[tex]\mathbf{\frac{AB}{1.8} =\frac{AC}{9} }[/tex]

Multiply both sides by 1.8

[tex]\mathbf{AB =\frac{AC}{5} }[/tex]

AC = AB + BC

So, we have:

[tex]\mathbf{AB =\frac{AB + BC}{5} }[/tex]

Substitute 1.7 for BC

[tex]\mathbf{AB =\frac{AB + 1.7}{5} }[/tex]

Multiply through by 5

[tex]\mathbf{5AB =AB + 1.7}[/tex]

Collect like terms

[tex]\mathbf{5AB -AB =1.7}[/tex]

[tex]\mathbf{4AB =1.7}[/tex]

Divide both sides by 4

[tex]\mathbf{AB=0.425}[/tex]

Approximate

[tex]\mathbf{AB=0.43}[/tex]

Hence, the length of AB is 0.43

Read more about similar shapes at:

https://brainly.com/question/20536565

-4d > 8 and 2d > -6 and graph

Answers

Answer:

Step-by-step explanation:

We can add like terms. Like terms are when the variables are alike, so you can add them to get a simpler form of your expression.equation.

4d and 2d are like terms, therefore, we can add them.

6d+6 is what we are left with.

Our final answer: 6d+6 is equivalent to 4d+6+2d

Answer:

Step-by-step explanation:

Least to greatest 3%,00.8,2/50

Answers

Answer:

3% , 2/50 , 0.08

Step-by-step explanation:

I believe the easiest way to go about this is to convert all the numbers t0o decimals!

0.08 is already given, so we just need to figure out what 3% and 2/50 are in decimal form.

When converting percents to decimals, a good rule of thumb to remember is to divide the percent by 100.

3 ÷ 100 = 0.03

For fractions, simply divide the numerator by the denominator:

2 ÷ 50 = 0.04

Now we just order the numbers based on their value...

0.03, 0.04, 0.08

So the final answer should be:

3% , 2/50 , 0.08

Hope this helps :D

.1325 to the thousandth​

Answers

.1325 to the thousandth is 0.133

Hi there!  

»»————- ★ ————-««

I believe your answer is:  

0.133

»»————- ★ ————-««  

Here’s why:  

⸻⸻⸻⸻

[tex]0.1325\\\rule{150}{0.5}\\\rightarrow 0.132\textbf{5} \text{ This is the rounding number.} \\\\\text{Since it is} \geq 5, \text{we will round up.}\\\\\rightarrow 0.1325 \approx \boxed{0.133}[/tex]

⸻⸻⸻⸻

»»————- ★ ————-««  

Hope this helps you. I apologize if it’s incorrect.  

15w^4 v^5 / 3w^6 v^5

Answers

Answer:

[tex]\frac{{5}}{w^{2}}[/tex]

Step-by-step explanation:

We begin with [tex]\frac{15w^{4}v^{5}}{3w^{6}v^{5}}[/tex].

Firstly, as with simplifying fractions we can simplify the numbers. 15 is divisible by 3, so this becomes [tex]\frac{5w^{4}v^{5}}{w^{6}v^{5}}[/tex].

To simplify indices (aka exponents or powers), we must subtract the power on the denominator from the matching one on the numerator, and then use that number as the power in the numerator. In this case, 4-6 and 5-5, which becomes -2 and 0.

So now we have [tex]\frac{5w^{-2}v^{0}}{1}[/tex].

For a negative power, we switch it into the other half (numerator to denominator) and take away the negative sign, leaving [tex]\frac{5v^{0}}{1w^{2}}[/tex].

We can remove the [tex]v^{0}[/tex] in the numerator as it just multiplies the numerator by one, and remove the 1 in the denominator for the same reason.

This leaves us with [tex]\frac{5}{w^{2}}[/tex].

**This content involves division with indices, which you may wish to revise. Let me know if you have any questions. I'm always happy to help!

Please help with this math problem

Draw a figure and then solve

Answers

Answer:

x=180-a/2+a/2

m AEP =90

Write and solve an inequality for x.

Answers

Answer:

Below in bold.

Step-by-step explanation:

2x + 20 > 4x         ( as triangle WXY is a right triangle and the longest side's length ( the hypotenuse) is 2x + 20.

2x + 20  > 4x

20 > 2x

x < 10.

Please help I'll give the brainiest to the right answer!

Answers

Answer:

[tex]x=1[/tex]

Step-by-step explanation:

Because vertical angles are always equal, we want to solve [tex]50x+10=70x-10[/tex].

We can add 10 to both sides to get [tex]50x+20=70x[/tex].

We can subtract [tex]50x[/tex] from both sides to get [tex]20=20x[/tex].

Lastly, we divide both sides by 20 to get [tex]1=x[/tex].

So, [tex]\boxed{x=1}[/tex] and we're done!

The check is left as an exercise to the reader.

Answer:

x= 1

Step-by-step explanation:

TO solve you can use the equation 50x+10=70x-10.

First, subtract 10 from both sides:

50x= 70x-20

Then subtract 70x from both sides:

-20x=-20

Then divide by -20:

x=1

Check your work:

50(1)+10=70(1)-10

50+10=70-10

60=60

Hope this helps!


PLEASE HELP MEEE ASAP

Answers

Step-by-step explanation:

first of all, g(x) has only negative functional result values (y) except for 0.

and a square is always positive.

so, the only possible right answers are the ones that include a minus ("-") sign.

the graph shows us that g(x) goes through the points (1, -3) and (-1, -3).

so, which equation turns an x = 1 into an y = -3 ?

therefore, the right answer must be D.

g(x) = -3x²

it works for both points :

-3 = -3×1² = -3 correct

-3 = -3×(-1)² = -3×1 = -3 correct

Find the value of x.

Answers

Step-by-step explanation:

By angle sum property

2x+10+4x-36+4x-34=180

10x -60=180

10x= 240

x=24°

Which quadratic function has an axis of symmetry of x = 3?

Answers

Answer:

the answer is: y= -x²+6x+2

At a farm the ratio of cows to horses was 9: 2 if there were 72 cows at the farm how many horses were there

Answers

Answer:

16 Horses!

Step-by-step explanation:

Since

9 : 2 = 72 : X

Then we know

2/9 = X/72

Multiplying both sides by 72 cancels on the right

72 × (2/9) = (X/72) × 72

72 × (2/9) = X

Then solving for X

X = 72 × (2/9)

X = 16

Therefore

9 : 2 = 72 : 16

A airplane flies 3 hours. The distance is 1200 miles. What is the speed?

Answers

Answer:

400 mph

Step-by-step explanation:

1200/3 = 400 miles per hour

calvin works at smokin sally’s barbecue restaurant and keeps track of the numbers of customers who visit the restaurant over a four-day period..

If caliber made an average tip of $1.25 per customer, how much money did Calvin make in tips from Thursday to Sunday?

Answers

Answer:

Step-by-step explanation:

Dbbdhdbjsbsjsbsbns

In a class of 46 students, there are 10 more girls than boys?

Answers

Answer:

28 girls

18 boys

Step-by-step explanation:

46-10=36

36÷2=18

18+10=28

Is the following a function?
{(1, -2), (-2, 0), (-1, 2), (1,3)}

Answers

it is not a function. A function is a relation in which no two ordered pairs have the same input (or x-values) and different outputs (y-values).

You need to determine whether every first element (or input) correspond with EXACTLY ONE second element (or output).

in this case, the input value of 1 goes with two output values, -2 and 3.  

It only takes one input value to associate with more than one output value to be invalid as a function.

Therefore, the given relation is not a function.

BRAINLIEST!!! +10 POINTS!!! REAL ANSWERS ONLY PLEASE!!!

Answers

Answer:

Below : )

Step-by-step explanation:

1) {x lx is all real numbers}

2) {y l y is greater than or equal to zero}

3) increasing

4) decreasing

range: the set of output values corresponding to the domain values

domain: the set of input values for which the function is defined

Hope this helps! : )

how would this: 6.673 + 8.29 equal this: 14.963 ?!?!?!?!?

Answers

Answer:

You have to add -its easier to add up and down so you can see it more visibly-

Step-by-step explanation:

    1

 8.290

+6.673

 14.963

Hope this helps! Have a great day!!

The sum of two numbers is 50 and the difference is 4

Answers

Step-by-step explanation:

let the 2 numbers be x and x + 4 as their deference is 4.

their sum = 50

now,

x + x + 4 = 50

2x + 4 = 50

2x = 50 - 4 = 46

x = 46/2 = 23

therefore two numbers are,

x = 23

x + 4 = 23 + 4 = 27

hope this answer helps you dear...take care and may u have a great day ahead!

Step-by-step explanation:

x + y = 50

x - y = 4

x = y + 4

let's use that as substitute in the first equation

y + 4 + y = 50

2y = 46

y = 46/2 = 23

=>

x = y + 4 = 23 + 4 = 27

the 2 numbers are 23 and 27.

An air traffic controller is monitoring the altitudes of four planes. The four equations below show y, the
distance in feet of each plane above the ground, after 6 minutes of descent. (Hint: Look at the slopes to help
you.)
Plane A: y = 400t + 12,000
Plane B: y = -800t + 28,000
Plane C: y = -200t +13,500
Plane D: y = -500t + 30,000
a. Which plane is descending at the slowest rate?
b. Which plane began its descent from the highest altitude?

Answers

Answer:

Step-by-step explanation:

a. Plane C has the slowest rate of descending.

b. Place D has begun to descend from the highest altitude.

What is the equation of a line in slope intercept form?

The equation of a line in slope intercept form is y = mx + b where the slope is m and the y-intercept is b.

The altitude of four planes is represented by y after 6 minutes and t represents time in minutes.

To determine which plane is descending at the slowest rate we have to look for a slope in these four equations which is the least steep or which modulus value is the least.

If we take the modulus of all four slopes 200 is the least value.

∴ Plane C has the least descending rate.

To determine which plane starts descending from the highest altitude we look for the value of y-intercept which is the largest among them and that is plane D.

learn more about slope here :

https://brainly.com/question/3605446

#SPJ2

Somebody help me please

Answers

Answer:

13th Amendment- C

14th Amendment- A

15th Amendment- B

Step-by-step explanation:

Answer:

13th C

14th A

15th B

Step-by-step explanation:

You have to think of it in events in order. Slaves can't vote until they're free, so the thirteenth amendment gets rid of slavery. It wouldn't make sense if slaves could vote without other freedoms, so freedoms come first. 14th is B for this reason. Lastly, the fifteenth amendment grants African American men to vote years down the road (women weren't allowed to vote yet at all, so the African American females also didn't have this right)

Can someone help me do this

Answers


180-60=120
60 is from the complementary angle
It’s 120 because exterior angle is equal to a + b in this case that’s 50 and 70 so 50 + 70 =120

☠☠☠❤❤❤‍‍♂️‍♀️‍♀️‍♀️‍‍‍‍‍♀️‍‍‍♂️‍♀️‍♂️‍♀️‍♀️‍♀️‍♀️‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍☄❄⚡⛈✨⚽️♣️♠️♣️♟♠️♣️↘️⬇️⏏⏮⏮⚕⚜⚕⚜⚕⏬♂️⏸9️⃣®️9️⃣4️⃣️5️⃣️4️⃣1️⃣®️1️⃣1️⃣‼️❕⁉️0️⃣⁉️9️⃣4️⃣️6️⃣9️⃣️️▫️▫️⚪⚪️⚪▪️️▫️️

Answers

Answer:

ouuu noice king of spades

Answer:

‍♀️‍♀️

Step-by-step explanation:

bahahaha

Volume = 154 cm cubic
height = 16 cm
d = ?
FIND THE DIAMETER OF THE CYLINDER
#SHOW THE WORKING PLZZ

Answers

Cylinder Volume

Level : JHS

V = hπr²

154 cm³ = 16 cm × 3.14 × r²

154 cm³ = 50.28 cm × r²

r² = 154 cm³ : 50.28 cm

r² = 3.0625 cm²

r = 1.75 cm

d = 2r

d = 2 × 1.75 cm

d = 3.5 cm

So, the diameter of the Cylinder is 3.5 cm

#LearnWithEXO

53-3 times 9 + 12 divided by 3

Answers

Answer:

53-3 times 9 + 12 divided by 3 = 30

Step-by-step explanation:

Answer:

350

Step-by-step explanation:

53-3=50

9+12=21

50 x 21 = 1050

1050/3 = 350

Other Questions
Please help ASAP I dont know how to do the bottom ______is when different species live in close association. -67.2-61.567.261.5 The location of four buildings on a coordinate grid are as follows:Building 1 is at (5, 3).Building 2 is at (5, 5).Building 3 is at (4, 5).Building 4 is at (4, 3).A bike courier begins at building 1 and then delivers packages to building 2, then building 3, and then building 4. Then she bikes back to building 1. The path between each building is a straight line. One unit on the coordinate grid equals 100 feet.What is the total distance the courier biked?Enter your answer in the box. They talk about how some schools aren't even aware of how big the problem of bullying is while others have zero-tolerance policies and don't even listen to the bullies side of the story. They talk about all the awful effects of bullying that can last for years. They also explain how cyber-bullying is even harder for schools to track because the cyberbully can easily delete their bullying post with one click. Which word or phrase correctly completes this sentence?Mon ami a eu un accident de ski______il s'est cass la jambe.A. il se sent mieuxB. Tu es dsolC. Il compatitD. Malheureusement Which word could best replace acquisition. A. lackingB. deterringC. wantingD. obtaining The Georgia Supreme Court and Court of Appeals were created to... Diffusion is a process which does notrequire any energy. Why is this?A. Because molecules move down an equilibrium slide.B. Because molecules move down an active transporttunnel.C. Because molecules move down a concentration gradient. PLZ HELP IM GIVING 25 POINTS AND BRAINLIEST IF ITS RIGHT ITS READINGThe next question refers to This Mystery Rocks! by Cynthia Schlagel.The sentences have been numbered to help you identify them more easily.This Mystery Rocks! By Cyntha Schlagel1The Drifting Rocks are a strange phenomenon still unexplained by science. 2Located in Death Valley, California, the rocks sit on hot, flat ground. 3Unlike normal rocks, they have trails etched behind them as if they have traveled across the sand. 4Some trails are only a few feet. 5Some trails are over a half a mile long. 6Each trail is as baffling as the next.7The variety of rock movement has baffled scientists for decades. 8Some rocks seem to roll as they move forward. 9Some take unexplainable routes. 10Large ones have traveled past small ones that have stayed still. 11Some scientists suggest that the rocks are pushed by wind. 12Others believe they slide on small amounts of ice or mud. 13So far, research has not confirmed any theory.Which sentence best identifies the main idea of paragraph two? (4 points) aScientists are baffled by the different ways the rocks move. bScientists are confused by the different ways the rocks move, and theories involving wind, ice, and mud have not been confirmed. cScientists have theories of how the rocks move. dThe rocks have stumped scientists because some roll, some take unexplainable routes, and some have traveled past ones that have stayed still, but scientists have theories that the rocks are pushed by wind or that they slide on ice or mud. Find the length of CEA. 17.8 unitsB. 27.8 unitsC. 37.8 unitsD. 51.5 units Perimeter = 26 yards helpppppppppppp meee tell me if you can see photo! question above photo! :)))) PLEASE HELP MEEEE The diagram below shows the steps for naturalization.Live in U.S.for 5 yearsApply forNaturalization?Interviewand TestWhich statement completes the diagram.Receiving a Social Security CardO Taking the Oath of Allegianceo Obtaining a Driver's LicenseO Joining a Military Service PLZZ HELPP ILL GIVE BRAINLIST A car dealership sold 950 cars last year. This year the dealership sold 817 cars. What is the percent decrease in the number of cars sold from last year to this year. When you exercise, your target heart rate r at 70% can be determined by the formula r = 0.7(220 a) where a represents your age in years. Solve the formula for a.PLEASE HELP How did the Negro National League support the idea of Black Nationalism? 1. Name an example of a real-world data set, not yet mentioned in the course, where you would typically expect to see a normal distribution. Be sure to describe what the labels would be for the horizontal and vertical axis of the display. Then explain why you would expect a normal distribution. What range of data values would you expect to represent 1 standard deviation from the mean? (15 points; 10 for your answer, 5 for response to others' comments.)