Write Algorithm to input a number and check if it is even or odd
answer fast it's urgent
and
i need a program in flowchart
Answers
Answered by
1
1. the algorithm is a step by step representation of program .
2.first of all you should know that.
3.if the number is divisible by 2 .means the reminder is 0 then the no.is even.
algorithm
4.step-1. start the program .
step-2 read /input the number.
step3.if n%0== 2 then number is even .
step 4. else no.is odd
HOPE IT'S HELPS
Similar questions