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

Why has the physical description of the hero changed throughout the years? A. To prove that authors can create original characters B. To allow for the advanceme
How much would a 185 pound astronaut weigh on the moon
In what ways is Islam a way of life as well as a set of beliefs? (five sentences)
The proteins in the cell membrane allow substances to come or go, based on their concentrations. This is an important part of _________________, which maintains
Which expression is equivalent to - 3 x (4/- 5)? a. (- 3 x 4) / 5 b. - 3/5 x 4 c. - 3/- 5 x 4 d. (- 3 x 4) / (- 3 x (-5))
Which list is organized from SMALLEST to LARGEST? It is Planet,Solar System,Galaxy,Universef
4.5ft is what circumference of a circle
A well tested explanation for a wide range of observation or experimental results is called a scientific
help please asap!!!!!!!!!!!!!!!!!!!
1.666667 as a fraction