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

What is the number one sport in China
Religion : Judaism What is the best title for the chart below? A. Teachings of the talmud, B. the ten commandments, C. holidays and holy days, D. hammurabis
To win baseball’s Triple Crown in pitching, a player has to lead his league in what? Who currently holds the Triple Crown in pitching?
12 ¿Qué les gusta? :: 1.1 The following people all have strong opinions about what they like and what they do not like. In pairs, take turns asking and answerin
Pls help me with this
Find the area of the figure. (Sides meet at right angles.)
the chromosomal hereditary material is packaged in this organelle in eukaryotic cells but not in prokaryoitc cells. This organelle is called
Review the underlined paragraph on pages 2-3of both passage 1 and passage 2 Which sentence BEST explains how the views CONFLICT in these two paragraphs
Katy invests £200,000 in a savings account for 4 years
If I equals √-1 what is the value of I³