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

Which of the following protocols help IP in multicast service?Select one:ORARPO CMPO ARPO IGMP​
Which of the following is the correct order of the polynomial 4x^ 2 -6x^ 4 -x+2x^ 5 +1?
Write the numbers -2.1, -1.8, -2.5 and -2.7 from greatest to least.​
PLSS HELP IMMEDIATELY!!!! ILL MARK BRAINIEST IF U DONT LEAVE A LINK OR GUESS!!!! (and it’s not multiplying. i already tried that)
given m||n, find the value of x​
Carter has a fruit stand. In the morning, he has 25 1/2 pounds of peaches. He sells bags of peaches that each weigh 1 1/2 pounds. He will restock when he has le
Last year 450 students were enrolled in an art program. This year, there are 320 students. Calculate the percent change.
1. Why do we need to test electronic components?2. When do we conduct the test?​
Some human white blood cells help destroy pathogenic bacteria by * (1) causing mutations in the bacteria (2) engulfing and digesting the bacteria (3) producing
What is the common uses for Manganese????