HOW TO WRITE ALGORITHM TO add the number 1 to 100 and display the sum

1 answer

1. START
2. Initialize a variable "sum" to 0
3. Start a loop from 1 to 100
4. Add each number from 1 to 100 to the "sum" variable
5. End the loop
6. Display the value of the "sum" variable
7. END
Similar Questions
  1. hello I need help with this algorithm I need to write it as a pseudocodeYou require an algorithm that will receive an integer
    1. answers icon 2 answers
  2. HOW TO write algorithmTO add the number 1 to 100 and display the sum
    1. answers icon 1 answer
  3. HOW TO write algorithm and pseudocodeTO add the number 1 to 100 and display the sum
    1. answers icon 1 answer
    1. answers icon 2 answers
more similar questions