In this post we tackle a simple problem of calculating the factorial of a number. Specifically, we determine Factorial of a number in Java using while loop.
In this post we tackle another difficult program to solve that, is determining if a number is a palindrome. Below is the code to solve that. That is Determining Palindrome number in Java using while loop.
In this post we solve a slightly difficult problem, that is trying to reverse the digits of a number. See below on example of Reverse number in Java using for loop.
It is a very good exercise to improve our logic and we wish to solve some problems. And so in this post we try to give example on how to solve this problem, determining Armstrong number in Java using for loop.
We try to solve specific logical problems in Java using some form of loops. In this post we present an example on how to print even numbers using while loop in Java