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

how to find the height of a trapizoid​
I don’t understand this can someone help me
may somebody help me please
the Supreme Court can declare an existing law unconstitutional true or false​
what devices are used to capture images of the planet mars?​
given -1/2 x>6.choose the solution set
What is the civil war
Why do females rarely get the disease hemophilia?
what is 40% of 10 ?
Which of the following was not an event of the Cuban missile crisis? Soviet missiles were being assembled in Cuba. A Soviet missile was launched from Cuba.