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

Use the figure at the right to name the following.
When computer code encounters the word “if,” what does it do?
Sa papaanong paraan tayo nakapagbibigay pag-asa sa ibang tao?​
Marisa has the hard job of slowing the sled to a stop at the other end of the pond. The sled has a mass of 5 kg. According to the graph, what is the Net Force
the price of a game is normally $39.99. today it is on sale for 20%. what is the price of the game after the 20% discount? what is the total cost of the game af
A phase when the cell focuses solely on growing:
children's games that were once part of the Olympics
please please help me i don’t know what i’m doing
REwaRDiNG BRAINLY TO CORRECT A zoo measured the wingspan, in millimeters, of 9 butterflies. 55 50 54 57 50 55 53 52 55 What is the median length of the wingspan
3 x 5 x 5 x5 x5 x 5 x5 x5