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 HELP FAST!! NO LINKS!! which characteristic of a poetic form best fits the limerick? a. sings about incredible feats b. often tells a joke c. has exactly
Where is the best location on the rat's body to check for pain reflexes prior to beginning surgery?
If you buy the bond for $1,000 (ytm = 6%), then the yield increases to 7%, and you sell the bond immediately after the first coupon payment (in 1 year), what is
3) the base of rectangle exceeds three times the height by 8, find the dimensions of the rectangle if the semi-perimeter is 32 ​
If the cytoplasm of a cell is at ph 7, and the mitochondrial matrix is at ph 8, this means that.
If the third ventricle is dilated, but the fourth ventricle is not, there would then be pathology associated with:_______
What molecule(s) could diffuse across the plasma membrane? question 31 options: disaccharides fe2 tryptophan amino acid ch4
Write x≥−13 in interval notation.
Savings accounts without substantial withdrawal penalties should be classified as?
In healthcare facilities, if it becomes necessary to move patients from a dangerous are, the preferred approach is:________