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

Can you please help me solve this step by step?
In how many ways can u arrange the letters of the word MATHEMATICS taking three letters at a time?​
Find an equivalent ratio for the proportional relationship. PQ restaurant offers 5 chicken rolls for $6.
​= The solution set is ​ 1/2(10x+16)-13=-3/5(15x-35)
Which expressions are in the simplest form? Check all that apply.(Please help, I've been stuck on this all afternoon)​
Given: triangle ABC with side lengths a, b, and c, and height h Prove: Area = 1/2absin C
Consider the probability distribution shown below. x 0 1 2 P(x) 0.15 0.80 0.05 Compute the expected value of the distribution. (Enter a number.) Compute the sta
What is Heisnberg's uncertainity principle? Why it make sense only for microscopic particles.​
Qué pasó con Italia en 1915 con Rusia y Estados Unidos en 1917
Explicar el legado cultural de Caral, Tiahuanaco y el Perú antiguo