1657838
1657838 1657838
  • 24-03-2022
  • Computers and Technology
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

It goes to else now

  • num3 is turned to num 2

  • num3=4

then

  • num2>=num3 ?False

It will go out as no else is available

Now the present values are

  • num1=6
  • num2=num3=4
  • Sum=6+4+4=10+4=14

Answer is 14

Answer Link

Otras preguntas

Please answer!!! Whoever gives what I think is the correct answer will get brainliest!
In the ballistic pendulum experiment, a bullet of mass 0.06 kg is fired horizontally into a wooden block of mass 0.2 kg. The wooden block is suspended from the
Describe how peta Lynn save Graham life about 50 to 75 words​
whta is the capitol of georgia?
Write a argumentative essay arguing whether elementary ayo children should own a cell phone. Make sure to explain your reasoning .
Slavery is the treatment of human beings as property and depriving them of personal rights Question 6 options: True False.
Help ASAP: The point-slope form of a line that has a slope of –2 and passes through point (5, –2) is shown below. y + 2 = –2 (x–5) What is the equation in slope
Jessica has 12. 7 moles of a compound for an experiment. How many particles of the compound does she have? A. 2. 11 × 1023 B. 4. 74 × 1023 C. 7. 65 × 1023 D. 4.
For each combination, record the total force, total mass, and acceleration. On the last column, multiply the mass (m) and acceleration (a).
What are the answers to the yellow boxes?