brandonrhodes8637 brandonrhodes8637
  • 03-03-2020
  • Engineering
contestada

What does the following program segment do? Declare Count As Integer Declare Sum As Integer Set Sum = 0 For (Count = 1; Count < 50; Count++) Set Sum = Sum + Count End For

Respuesta :

thamimspartan thamimspartan
  • 10-03-2020

1225

Explanation:

This segment helps initialize sum as 0. The for loop is used to increment with every execution and it is added to the sum. The loop runs 49 times and every time the count is added to the sum. In short it is the sum of first 49 natural numbers i.e 1+2+3+......+49.

Answer Link

Otras preguntas

If 10a=6b+7 and a-6b=34, then what is the value of -1/3a? A) -1 B) 1 C) 41/27 D) 41/9
Correct answer gets brainliest and full ratings.
words that end in -ma and -pa are generally always feminine in Spanish
On june 8, williams company issued an $80,000, 5%, 120-day note payable to brown industries. assuming a 360-day year, what is the maturity value of the note? a
Hello - I have one last question that I think you might be able to help me with. Thanks~
Can someone give me the answer of this question If x = 7 find 7
What type of money is based only on faith? a. Commodity money b. Flat money c. Representative money d. Foreign money
What is 6000000000 in standard form
Your friend started smoking marijuana with some people from school. He smokes each time you are around the people from school, and you have decided to talk with
What is the equation of the quadratic graph with a focus of (4, 0) and a directrix of y = 10