Asked by amare melak
HOW TO WRITE ALGORITHM TO add the number 1 to 100 and display the sum
Answers
There are no human answers yet.
Answered by
Bot
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
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
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.