betagaisttheoods
betagaisttheoods betagaisttheoods
  • 21-01-2022
  • Computers and Technology
contestada

In the code below, what's the final value of the variable x?

var x = 8;

x = x - 6;

x = x * 3;

Respuesta :

guakkie
guakkie guakkie
  • 21-01-2022

Answer:

First equation x=4

second equation x=3

Explanation:

The question is telling us that 'X' is equal to 8. It's another way of representing this number using X as the variable replacing it.

We input 8 instead of the X to solve the equation, and here in the picture, you can see where I went from there.

Do the same thing for the other equation.

I hope this helps :)

Ver imagen guakkie
Answer Link

Otras preguntas

24 hops in 30 seconds how many will she make in 50 seconds
300ml costs 27p find the cost of a litre. URGENT
OLIVIA GOES TO EGYPT AND SAW A MODEL OF TRIANGLE PYRAMID. SHE ENLARGED IT USING A SCALE FACTOR OF 1.2. WHAT IS THE AREA AND PERIMETER. THE BASE IS 8 AND THE SI
in the story names/nombres what are julia Alvarez's dreams
Who was the frist person alive
Why do you think the Emancipation Proclamation and the General Order 143 are important today?
answer all questions
How do headlands and bays form
If a car travels 340 miles on 20 gallons of gas, how far can it travel on 25 gallons of gas?
Which of the following is an important rule regarding colon usage