Flow Chart For Odd or Even

Algorithm and flow chart to find whether a number is odd or even.


  • Begin
  • Input n
  • num <- n%2
  • if (num=0) then Output "even"
  • else
  • Output "odd"
  • End

Flow chart:

odd or even flow chart.png

From the Web

Suggestions: (1)

See few results | more results

Search: [Press Enter]

Share |