Why Open Source

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

Monday, November 28, 2016

Print All Prime Numbers between 1-500 Using Java

Prime numbers are those numbers which do not have any factor except themselves. So any number which can't be divided by any other number except itself is a Prime Number. So, how do we identify Prime Numbers ? There are many ways to do so but as usual we'll go with the simplest and the easiest one. We are going to print all the prime numbers between 1 to 500. So how do we do it. Below is the code. This is how it works.  We just need to...

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...

Monday, November 7, 2016

How to Design Pyramid using Java

As as Beginner in Java Programming field, one try to be creative in playing with for Loops or If Else or While type of conditional statements. And this is where pattern printing programs comes handy. They help us in understanding loops and other java conditional statements in a better way. So more creative you are, more will be your programming skills and there is a good chance to quickly master them. Think of all the wild patterns you want to see...