How to draw a flowchart & Algorithm to display odd and even number in c language
How to draw a flowchart to display odd and even number in c language
Note- there was a mistake in above Image (N%2=0)
Algorithm to show odd and even number in C language
step 1: start
Step 2:declare variables N
Step 3:read variables
Step 4:if N%2=0
Step 5:display N is even number
Step 6:if N%2!=0
Step 6:dispaly N is odd
Step 7: stop
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment