amberwells606 amberwells606
  • 26-02-2022
  • Computers and Technology
contestada

1) What is y after executing the statements?

X = 5;
y = x + 1;
y= y * 2;
a. 5
b. 6
C. 8
d. 12

Respuesta :

homeworkanswers123 homeworkanswers123
  • 26-02-2022

Answer: d. 12

Explanation: if X = 5, then y = 5 + 1 because in y = x + 1, You are replacing the x with 5.

y is now 6.

Now you are multiplying 6 * 2 because of y * 2. You replace the Y with the 6.

6 * 2 = 12

y = 12 or letter d

Answer Link

Otras preguntas

What are two differences between a rhizoid and a rhizome?
the problem is three n squared minus 17  n plus 24
An example of a stateless nation in the middle east is provided by who?
how to solve linear equations by substitution?5x+2y=9x+y=-3
7b ÷ 12 = 4.2                  What is b?
What advantages did the geography and climate give to people living in the Middle Colonies
What are two differences between a rhizoid and a rhizome?
Write an equation in slope intercept form of a line that passes through the point (2,4) and is perpendicular to the graph of x-6y=2
7b ÷ 12 = 4.2  what does b =
How many solutions will the following equation have: x squared -49=0