> #mathematics , #programming , #flowchart > Draw a flow chart for a program which calculates and displays the sum of all even numbers between 0 and 21. ?
Anonymous
Feb 19

Draw a flow chart for a program which calculates and displays the sum of all even numbers between 0 and 21. ?

Draw a flow chart for a program which calculates and displays the sum of all even
numbers between 0 and 21.
1 view
1 view

1 answer

Sort By
C
ChatGPT
Feb 19
Start

Set sum = 0

For each number i from 0 to 21:
If i is even:
Add i to sum

Display sum

End
0

Similar Questions

×
Anonymous





© 2024 - Quanswer