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

Bone marrow transplant are common for certain serious illnesses. Which of these functions is restored by doing a bone marrow transplant ? 1. purification of blo
The NAACP and SCLC are civil rights organizations started by impatient young blacks who wanted to see immediate progress. A. True B. False
Why was Stonehenge built?
during which war was old Fort Jackson built?
What Are The Negative Aspects Of Democracy In India?
How many real number solutions does the equation have? y=3x^2 - 5x - 5 A. one B. two C. no solutions D. infinitely many solutions Thanks!! And I will pick bes
Why did so many early pioneers choose the Conestoga wagon to take the west?
The NAACP and SCLC are civil rights organizations started by impatient young blacks who wanted to see immediate progress. A. True B. False
A 8kg object falls what is it weight
Inverse Function: f-¹ (- 3) f(x) = 6x - 12