Elios07
Elios07 Elios07
  • 07-01-2022
  • Computers and Technology
contestada

Will give brainliest!!

Write a program that will add up the numbers 1 to 100 and then display the answer. The
calculation should be 1+2+3+4+5…+98+99+100.
You will need an extra variable called total which starts at 0.

Respuesta :

mm1059
mm1059 mm1059
  • 07-01-2022

Answer:

var total=0

repeat 100 times{

total = number + 1

print total

}

Explanation:

Answer Link

Otras preguntas

What religion is being described above? Buddhism Christianity Islam Judaism Sufism Zoroastrianism?
Is 9/16 closer to zero one half or one
Multiply. –3 • 7 = A. –21 B. –11 C. 11 D. 21
what is greater .5 or .5%
phase changes are not associated with a change in
A problem caused by the burning of fossil fuels is _____. acid rain drought flooding overpopulation
how do topographic maps represent elevation and relief
Johnathon can jog 3 2/5 miles in 7/8 hour. Find his average speed in miles per hour
The Articles of Confederation limited the powers of what body? A. national government B. state government C. state military D. Supreme Court
Jasmine bought 7 yards of fabric. The total cost was $45.43. What was the average cost per yard she bought?