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

How is the status of population composition by occupation of Nepal in rural and urban area? Explain​
what are the two primary types of water pollution that have to do with where the pollution came from
For a uniformly accelerated motion the graph of displacement versus time would be​
PLS HELP ME I WILL GIVE BRAINLESS] Solve the problems. AA + 5 JoJo Seaweed walks at a constant rate d. able shows the relationship of feet to seconds. What is t
[tex]{\huge{\underline{\bf{\pink{Question}}}}}[/tex]: Given a matrix, we need to count all paths from top left to bottom right of MxN matrix. You can either mov
Select Which of these lines from Shakespeare's Twelfth Night reveals that Viola would use a different method to woo the person she loved than that used by Orsin
Q.10² + 20² - 5! = ?note : ! it's a factorial signGoodluck​
20 points please help with this
How were the three colonial regions similar and different?
For any two numbers a and b, the product of a − b times itself is equal to a^2 − 2ab + b^2. Does this familiar algebraic result hold for dot products of a vecto