Java Program to Display Factors of a Number
In mathematics, a factor of a number is a number that divides evenly into that number. For example, 2 and 4 are factors of 8…
In mathematics, a factor of a number is a number that divides evenly into that number. For example, 2 and 4 are factors of 8…
In this program, you'll learn to check whether a number is palindrome or not in Java. This is done by using for and whil…
In this program, you'll learn to check if a number entered by an user is Positive or Negative. This will be done using i…
In this program, you'll learn to find the largest among three numbers using if else and nested if..else statement in Jav…
In this program, you will learn to check whether the number entered by an user is even or odd. This will be done using if...…
In this program, you'll learn to find the Date of Birth of given National Identity Card(NIC) Number of Sri Lanka. …
In the sub field of numerical analysis, a sparse matrix is a matrix populated primarily with zeros as elements of the table.…
In this program, you'll learn to Find Day of the Week for a Given Date in Java.Write a function that calculates the day …
In this program, you'll learn to Search Key Elements in the given arrays in Java. Search an element in an array Find an…
In this program, you'll learn to Calculate Yesterday and Tomorrow Date without using Calendar in Java .This is done usin…
Bubble Sorting is an algorithm in which we are comparing first two values and put the larger one at higher index. Then we t…
In this program, you will learn to check whether a given integer number is prime or not. This is done using a for loop or wh…
In this program, you'll learn to Check if a given Number is Perfect Number by creating a class. A perfect number is a p…
In this program, you'll learn to find the factorial of a number using for and while loop in Java.This Java programming w…
In this program, you'll learn to create pyramid, half pyramid, inverted pyramid in Java. To print patterns of number…
In this program, you'll learn to the usage of if else by a given number. This is done by using a if else stateme…
In this tutorial, you will learn about control flow statements in Java using Java if and if...else statements with …