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

Assume that y varies directly with x, then solve If y=4 when x=12, find y when x=-24 y= ?
0.468 ÷ 6.5 equals what
Help please, thanks. If you can describe how to solve it then that would be very helpful. But if you can't then no worries.
Hoshi walks 10 meters in 3 seconds. She walks at this same rate for 50 seconds. How far does she walk?
How to simplify 27/51
Imagine an editor asks you to write a journal article about “indigenous psychologies.” This means that your article is likely to be about what? a. Cultural gro
Compared to skeletal muscle, cardiac muscle ________.
1.) What argument does Carnegie make about the uses to which the great fortunes of industrialists should be devoted?
C6H12O6 + 6O2------>6CO2 + 6H2O identify the substance (s) being oxidized
The bacteria found in soil is usually harmful and measures are taken to remove any traces of microorganisms.