write a program to print the even nunmbers from 10 to 20 and draw flowchart for it
Answers
Answered by
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
Chemistry,
1 month ago
English,
1 month ago
Science,
2 months ago
Social Sciences,
2 months ago
Science,
9 months ago