How to slove this question

Given N find sum of even numbers from 1 to N.

hello @harshit_25

declare a variable name sum and then initialsie it with 0.

now iterate from i=1 to N.
if i%2 ==0 then add i to sum

print sum once iteration is done

sir i want flow chart of this question.
Q.Given N find sum of even numbers from 1 to N.

ss

sir,please tell me one more question.
Q. flowchart of Given a Number N check if it part of Fibonacci Series or Not?

replied to ur other thread pls check

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.