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

Find the missing side, x of the triangle using the appropriate formula. 1 unit 16 units 8 units 2 units
Which of the following is true about the genetic code?
A ladder, leaning against a wall, makes an angle of 20° with the ground. The foot of the ladder is 3 m from the wall. How long is the ladder? (please show work)
Scattered hills and huge rocks that have resisted erosion on a plateau are known as​
Which of these is true of the sedition act
list some career paths that involve little to no paper work​
Body 1 has a mass m, and its moving in a circle with a radius r at a speed v. It has a centripetal force. F acting on it. If body 2 has a mass 2m and its moving
Find "x" in this problem 45x+5=140 A) 7 B) 3 C) 2 D) 8
examples of letters to future self worth 20 points and brainliest
Name a quadrilateral with exactly two pairs of congruent angles.