Explore Westonci.ca, the premier Q&A site that helps you find precise answers to your questions, no matter the topic. Get detailed and accurate answers to your questions from a community of experts on our comprehensive Q&A platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

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.


Sagot :

mm1059

Answer:

var total=0

repeat 100 times{

total = number + 1

print total

}

Explanation:

We hope our answers were useful. Return anytime for more information and answers to any other questions you have. Thank you for visiting. Our goal is to provide the most accurate answers for all your informational needs. Come back soon. Thank you for using Westonci.ca. Come back for more in-depth answers to all your queries.