Reading Individual digits of a Number in Java February 3, 2018 In this post, I will show two ways of reading individual digits of a number in the Java language. The… Read More
Java program to find Sum of Digits in a Number February 2, 2018 The following program takes an integer number as an input and returns the sum of the individual digits. The number… Read More
Java Program to Find Perfect Number February 1, 2018 The following Java program displays the available perfect numbers within a defined range of numbers. I use the Java for-loop… Read More
How to Check if a Word is a Palindrome in Java January 20, 2018 In this post, I will show how to check if a word or sentence is palindrome in Java. If a… Read More
Simple Java Program to Find the First and Last Digit of a number January 18, 2018 Here is a simple Java program to find the first and the last digit of a given number. Please note… Read More
Simple Java program to find Factorial of a number January 17, 2018 The Java code below shows how to get the factorial of numbers. For instance 4! = 4 x 3 x… Read More
Display number patterns using java January 13, 2018 Here is a list of number patterns that you can produce using any programming language. I use Java in… Read More
How to Create a Checkerboard pattern Using Asterisks in Java January 9, 2018 Here is a simple program to draw a checkerboard pattern in Java. There can be a different way of doing… Read More
How to Create a Hollow Rectangle Using Asterisks in Java January 8, 2018 A hollow rectangle such as the box shown below can be drawn by printing the star symbol on only the… Read More
Java Program to show Maximum and Minimum September 17, 2017 This Java program prints the maximum and the minimum number of a given numerical digit. For example - typical output… Read More