subject
Mathematics, 27.04.2021 21:40 brown62

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)

ansver
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 22.06.2019 01:10, benji23
Is ofat (-25, 0), (25, 0) co- (0, -15), (0, 15)?
Answers: 1
image
Mathematics, 22.06.2019 01:50, QueensQueens
Lesson 9-3 for items 8-10, a square is drawn in the coordinate plane, with vertices as shown in the diagram. then the square is reflected across the x-axis. -2 4 8. the function that describes the reflection is (x, y) - a. (x, y-3). b. (x, y-6). c. (-x, y). d. (x,- y).
Answers: 2
image
Mathematics, 22.06.2019 04:30, barnhill6534
The distance from the sun to earth is about 1.5×10 to the 11th m suppose light travels at a speed of 3×10 to the 8th m per second about how long does it take light from sun to reach earth
Answers: 2
image
Mathematics, 22.06.2019 06:20, eichlingkera3
The pet store currently has 30 hermit crabs. over the weekend they sold 15 hermit crabs. what was the inventory before the weekend's sales?
Answers: 2
You know the right answer?
Hey guys. So I'm doing a basic program for a battle game in Javascript, and I've having trouble on t...

Questions in other subjects:

Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
History, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01
Konu
Mathematics, 10.09.2020 08:01