Why Open Source

Open Source is not a concept, it's thought process.

Showing posts with label learn. Show all posts
Showing posts with label learn. Show all posts

Tuesday, November 22, 2016

How to find Even and Odd Number using Java

Although identifying a number as even or odd it's one of the easiest thing to do. However, just for the sake of knowledge and it's implementation with Java is our prime goal here and hence this post. The logic is simple. Any number which when divided by two leaves no remainder is considered as even and the number which leaves a remainder is odd. This is how we implement it using Java. This Program is self explanatory and implemented in most...