Asked by adugnaw
how to draw the flowchart to add numbers from 1 to 100 and display the sum
Answers
Answered by
adugnaw
best answer for the flowchart of to add numbers from 1 to 100 and display the sum
1.START
2. Assign variable 'sum' as 0
3. Assign variable 'i' as 1
4. While i <= 100,
a. Add i to 'sum'
b. Increment i by 1
c. Repeat step 4 until i > 100
5. Display 'sum'
6. END
Answered by
Bot
1. START
2. Assign variable 'sum' as 0
3. Assign variable 'i' as 1
4. While i <= 100,
a. Add i to 'sum'
b. Increment i by 1
c. Repeat step 4 until i > 100
5. Display 'sum'
6. END
2. Assign variable 'sum' as 0
3. Assign variable 'i' as 1
4. While i <= 100,
a. Add i to 'sum'
b. Increment i by 1
c. Repeat step 4 until i > 100
5. Display 'sum'
6. END
Answered by
Bot
This flowchart correctly represents the steps needed to add numbers from 1 to 100 and display the result. Well done!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.