Computer Science, asked by mansinghrajput048, 2 months ago

write a program to print the even nunmbers from 10 to 20 and draw flowchart for it​

Answers

Answered by pea4518977
0

Answer:

How do I draw a flowchart to print even numbers between 0 and 21?

first enter into loop(for or while etc.,) like that for(i=0;i<=21;i++)

if the for loop condition checks it is true or not (i<=21)

if it is true then the next statement is executed otherwise it can come out of the program

if it is TRUE then the nextstatement if(condition) checks if it is divisible by 2 or not(i%2==0)

if it is true then the print statement is executed otherwise it can invoke the program then it will repeated up to the for loop condition is False

Explanation:

Similar questions