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

round 5.1961 to the nearest tenth
The graph shows the best-fit regression model for a set of data comparing the number of hours spent hiking and the number of miles traveled in one day. Which is
Which sets of values belong to the domain and range of a relation? output values Domain Range values for the independent variable input values values for the de
Explain the features of source documents.​
5. When would it be useful to know whether a chemical is an acid or base? Give an example.'
this is question ans it fast its argent
What was the final result of the Korean War?
Question 17 of 241 PointRead the following passage:The year is 2186. Since the polar ice caps melted severaldecades ago, humans have been struggling to survive
Pls ASAP need help with these​
PLEASE HELP ASAP!!!!!!!!