cobidadon cobidadon
  • 04-02-2021
  • Computers and Technology
contestada

In the code below, what's the final value of the variable x?
var x = 10;
X = x + 7;
X = X* 3;
A:51
B:34
C:10
D:21

Respuesta :

KatelynnAnlage
KatelynnAnlage KatelynnAnlage
  • 04-02-2021
A 51

x=10 so we substitute 10 into the spots for x in the beginning

x=10+7

x=17*3

x=51
Answer Link
kirabowen15
kirabowen15 kirabowen15
  • 04-02-2021
If bar x = 10 ;

Where you see the var x replace it with 10.

X = x + 7
X = 10 + 7 = 17

Substitute the value of the first var X in the equation

X = X* 3
X = 17 * 3 = 51

Therefore the final value of var x is 51 option A
Answer Link

Otras preguntas

2. If the product of 3 and a number is increased by 7, the result is 23 greater than the number. Find the number
giving brainliest question is in the file below
50 pts In class, Ricardo rips up a piece of paper. Select the correct reason(s) that this is an example of a physical change. (more then one answer) The paper
What event might you attend if you were an abolitionist?.
NEED AWNSER ASAP PLEASE, I WILL MAKE YOU BRAINLY!!! AND ALSO GIVE 100 POINTS! Describe how electricity is generated at a fossil fuel (coal, oil or natural gas)
Tell me whether does job work more with data or things or people please I need help with this homework Social Worker Air Traffic Controller Butcher Counselor D
Solve for j. 4 - 2 = 3 = 3(1/3j+2)
Which number is irrational?
A Big Year By Bob Kowalski Would you go to the ends of the earth to see a bird? What if it were a really special bird: one with beautiful feathers, an entrancin
And IIIII get messages from the starsss you must be from another galaxyyyy