draw a flowchart for printing the sum of even number withing the number 0 to 20?
Answers
Answered by
3
I THINK THIS IS YOUR ANSWER.
Attachments:
Answered by
0
Concept:
A flowchart is a visual representation of the separate steps of a process in sequential order.
Given:
Printing the sum of even numbers within the number 0 to 20.
Find:
Draw the flowchart.
Solution:
Step 1: Start
Step 2: Declare variable a of integer type.
Step 3: Set =0.
Step 4: Repeat steps 5 to 7 while ().
Step 5: if (a%2 == 0)
Step 6: then print a.
Step 7 :
Step 8: Stop.
The flowchart is given below-
Attachments:
Similar questions