1657838
1657838 1657838
  • 23-03-2022
  • Advanced Placement (AP)
contestada

What is the value of sum after the code segment is executed?

What is the value of sum after the code segment is executed class=

Respuesta :

Аноним Аноним
  • 25-03-2022

Let's go as per program

  • 6<4 ? False

Else will be conducted

  • num3=num2=4

So

  • num2>=num3 ?False

No else statement is available

Now the present values are

  • num1=6
  • num2=num3=4

Sum=6+2(4)=6+8=14

Answer Link

Otras preguntas

how did the desert on both sides of the nile help ancient egyptians
What is the term for molten material found below the earth's surface? A. lava B. basalt C. magma D. gabbro
What is a value or values that make an equation true
triangular region at the mouth of a river: it is rich in minerals which help to enrich the soil for farming
One less than half a number is 12. What is the number ?
HELP ME PLS!put the verb in brackets in the correct tense.in some cases there is more than one possible answer.1.many people from the former communist bloc ____
I need help solving this equation 26=8 + v
Least from least to greatest 1/5, 0.1, -1/2, -0.25, -0.3
How do I write 2\5, 1.4, 1\3, and 0.5 from least to greatest?
A skateboarder shoots off a ramp with a velocity of 5.0 m/s, directed at an angle of 57° above the horizontal. The end of the ramp is 1.2 m above the ground.