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

conversation between Hitler and gandhi
The entire region of Northern Africa and southwest Asia has a climate generally described as?
A history quiz consists of five true-false questions. If you guess on each question, then the probability of answering all five questions correctly is approxima
What is the lateral area of the rectangular prism with a base length of 17 m, a base width of 7 m, and a height of 5 m?
Find an equivalent ratio for 22/55 then write the proportion ?
Find an equivalent ratio for 22/55 then write the proportion ?
(X+12) 2 ÷ x2-144 ×-12. 12×-144
The diameter of your bicycle wheel is 25 inches. How far will you move in one turn of your wheel?
The Radius of a sphere is 5 feet. find the area of the great circle of this sphere
what time is 9 hours and 30 minutes before. 4:25