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

A researcher selects to use a __________ to compare the self-esteem of two groups: preteen girls and preteen boys.
One of the benefits of offering a size discount to consumers is they will ________. 1) purchase more of a marketer's product and earn a cash discount 2) capital
√12x^4y -√3x^2y - 3√75x^6y^3 evaluate
Another name for the continuity assumption is the: a) Historical cost assumption b) Going concern assumption c) Monetary unit assumption d) Economic entity assu
Accounts Payable: What record separates cash and accrual transactions for reporting in the AP configuration screen?
Why is Danny Hupfer suspended, and how does his family respond? What does this tell you about his family values?
What is the last step before an information system is placed into operation?a. Move to Activity 5 in the Enterprise Information Technology Defense Repository (E
Identify the methods used to grow obligate aerobes and microaerophiles in the lab.
Your friend is a diary farmer trying to increase milk production. Mean milk production in his herd is 80 L/week–but his best cows produce, on average, 120 L/wee
What is 3 1/4 - 1 3/8