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

Use the Distributive Property to find the price of 9 CDs that cost $13.99 each. A. $125.91 B. $126.00 C. $126.90 D. $117.00
Traduce las siguientes expresiones idiomáticas del inglés al español: 1. To be up to one’s old tricks 2. To be the limit 3. One man’s meat is another man’s poi
The ________ allowed new ideas to flow more easily to distant places during the Renaissance. A. aerial screw B. optical telescope C. printing press
Evaluate –x + (–7.5) for x = 6.3. A. –13.8 B. 13.8 C. 1.2 D. –1.2
Simplify 2 to the 5th over 3 squared all raised to the 4th power.
how did the technological and cultural influences of Egypt affect the formation of Nubia
Which of the following regarding Afghanistan is true? A. The Taliban encouraged international aid agencies to remain in Afghanistan. B. The Taliban conquered a
A quarter has a diameter of approximately 24 millimeters. What is the area of the quarter? Approximate Π as 3.14.
Multiplying a trinomial by a trinomial follows the same steps as multiplying a binomial by a trinomial. Determine the degree and maximum possible number of term
how do you make a blt