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

Nelson walked into a bright, spotless room brimming with a vibrant golden glow that made him want to put on sunglasses. Which of the following correctly describ
10 larger than y In algebraic expression would I have an + sign or??
Which is one of the causes of the First Gulf War? a. Rid the country of Iraq of communism. b. Take control of Iraq in order to contain Iran. c. Stop Saddam Hus
Why might introduction of an exotic species disrupt an ecosystem?
Which event took place in Boston on December 16, 1773, in protest of the Tea Act?
What did Andrew Jackson and Frederick Douglass say about their hopes for the future of the United States?
A sentence that contains both dependent and independent clauses is known as a
PLEASE ANSWER ASAP! MUST BE WITH WITH WITH WITH WWWWWIIIIIIIITTTTTHHHH AN EXPLANATION IN ORDER TO RECEIVE POINTS & BRAINLIEST ANSWER!!!!
True or false Geologists use a creep meter to measure the horizontal movement along a fault?
A strong cardiovascular system is developed through regular ______.