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

what makes the population of early humans grow
Which units are used to express kinetic energy
Write an essay stating your opinion on whether it’s better to plan ahead or to live in the moment in four paragraphs
−31p+79>−59p+81 solve for p using equality's
Why is it important to complete a lab report when conducting a lab?
after two tests carol has a total score of 170. the score on her first test was 8 points higher than the score on her second test.what was carol's score on each
I’m in ESOL can someone tell me the meaning of these words below: Dignity- Endown- Conscience- Brotherhood- Gypsies- Entitled- Thank you so much for helping me
Is {(-2,6), (-3,7), (-4,8), (-3,10)} a function
What is a characteristic of the jacobins
Which democratic principle did modern American government inherit from the ancient Athens?