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

Olivia needed 2 quarters of a cup water for flower 1. If she had nine flowers how many cups would she need?
The Federal Bureau of Investigation must find ___ evidence before it can declare that a plane crash has been caused by a bomb. A. provocative B. tangible C. son
what is 2/3 plus 4/9 equal
Which word is the conjunction in this sentence? Priscilla put the soccer ball under the tree and ran into the house. A. and B. put C. into D. under
is a brass paper fastener a conductor or insulator
The federal bureaucracy is composed of ____. a. departments b. independent agencies c. government corporations d. all of the above
How did technology change American life in the 1920s? More Americans than ever had access to radios, telephones, electricity, and indoor plumbing. It created re
what type of solid is candle wax? Pls explain
What does convey time , sequence ,condition , and state mean
what is 7a+28b factorised??