gumlickpuklandon
gumlickpuklandon gumlickpuklandon
  • 07-04-2021
  • Computers and Technology
contestada

Consider the following code: x = 9 y = -2 z = 2 print (x + y * z) What is output? 9 13 14 5

Respuesta :

Peaceloving
Peaceloving Peaceloving
  • 07-04-2021

Answer:

5

Explanation:

x = 9

y -2

x = 2

expression = (x + y * z)

Apply BODMAS rule.

= 9 + (-2 * 2)

= 9 + (-4)

= 9 - 4

= 5

Answer Link

Otras preguntas

Express the fractions 3/4, 7/16 and 5/8 with the lowest common denominator a. 24/32, 14/32, 24/32 b. 12/16, 7/16, 10/16 c. 3/4, 2/4, 3/4 d. 9/16, 49/16, 36/
Write an equation in point-slope form of the line through point J(4, 4) with slope 4.
Higher animals and plants most likely have _____. isogametes anisogametes oogametes
How did the delegates at the convention differ on the issue of representation in the new government?
41°F equals how many degrees Celsius? A. 5°C B. 56°C C. - 5°C D. 9°C
Choose the sentence below in which of is used correctly. A. We should of left early. B. The three girls might of broken the records. C. The boys surrendered,
A community group is upset because drivers speed through their neighborhood. They want the local government to install a stop sign or a speed bump to make drive
Write a unit rate for the situation 250 words in 5 minutes
What are the two main forms of Russian transportation?
y = kx The constant of variation in this equation is???? y = 4x