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

Can you tell me what is peripatetic A. a kind or type B. introductory part to a play C. walking casually from place to place D. seeming to have no ending
Help me please, clandestine means.. 1. a sudden attack 2. one who bothers; to bother 3. take in as one s own 4. marked by or done in secret; stealthy
Given the function f(x) = 4(x+3) − 5, solve for the inverse function when x = 3
Is there a diet that can cure cancer
in japan, what is karoshi?
2.434 to 3 significant figures
Ted weighs twice as much as Julie. Mike weighs three times as much as Julie. Together, Ted, Mike, and Julie weigh 210 lbs. What is the weight of each person?
X+2y+6=0Solve for the value of "y"And explain how to graph the result.
how do you solve radical and division to this problemand siplifyradical 15/4   15 over 4
what are the worlds biggest countries?