jhugh68
jhugh68 jhugh68
  • 16-09-2020
  • Computers and Technology
contestada

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

Respuesta :

cetojonathan309
cetojonathan309 cetojonathan309
  • 18-09-2020

Answer:

14

Explanation: The reason why is because adding a negative is pretty much subtracting by 2. 9-2=7. Then multiply 7 by 2 like add 7 to 7 and you get 14.

Answer Link

Otras preguntas

Wars between what two groups started with the Crusades and lasted into the Renaissance?
Makes letters appear on a screen is an example of output. True or False?
Copper(ii) nitrate was dissolved in water to form an aqueous solution. Aqueous sodium hydroxide formed a light blue precipitate. What is the formula?
Complete the response to each question using a word from the word box. ninguna nada nadie nunca ni 1. ¿Siempre te conectas a Internet? No. me conecto a Internet
2. The company's annual report indicates excellent sales in January, March, and in July
4/5 ÷ 2/5 = ?????????​
Who develops the menu in a restaurant? The ________ develops the menu in a restaurant
Problems affecting the sugar industry in the post-emancipation period and measures used to improve it.
What is the ratio for sin A? No random answers plz
Expand the expression 3(7 + x)