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

Given the rhombus ABCD, find the area. Show all the work
Calculate the mean piston speed, bmep, and specific power of the spark-ignition engines in Figs. 1-4, 1-9, and 1-12 at their maximum rated power. Calculate the
PLZ HELP PLZ HELP. Select the net of the square pyramid. Then, use the the net to select the surface area.
Find the mean and standard deviation for each binomial random variable n = 26, π = .90
indicate why it is important to follow course​
What is the voume of depth 1 2/3 inches and length of 2 1/3 inches and width 2 inches
Find the slope of the line with points: (5,1) and (3,4).
try to be polite and friendly​
please answer ASAP! TIMED!!!How did sharecropping affect Southern society?A. It forced formerly enslaved people to sign contracts that were unfair.B. It allowed
Cam is playing four square on the playground with her friends. The area of the four square is 169 square feet. What is the side length of each player's square?