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

Michael will write a five letter word cross from left to right on a 8 x 10 crossword puzzle and how many ways can you write the word on the puzzle​
Metallic materials are becoming more and more widely used. They havethe common properties ofA. being very hard and having high melting pointsB. having good elec
Write \sqrt-40 In simplest radical form
Which of the following describes the characteristics of a solid?
Even though no list is provided I still believe that I can answer this question. The two best traits that "anyone" can aspire to offer in the workplace is probl
How are you in the bet nobody’s not going to help me on this question
How many moles are there in 5.30 x 1024 atoms of silver?
how many of yall are willing too sub to my channel called "Space Juice" with around 200 subs?!​
help me again plz quick
What is stress, and what does it cause?