Computer Science, asked by razia6781, 3 months ago

draw a flowchart for printing the sum of even number withing the number 0 to 20?

Answers

Answered by sakash20207
3

I THINK THIS IS YOUR ANSWER.

Attachments:
Answered by varshamittal029
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 (a\leq 20).

Step 5: if (a%2 == 0)

Step 6: then print a.

Step 7 : a=a+1

Step 8: Stop.

The flowchart is given below-

Attachments:
Similar questions