Calculation Programs
Area, circumference, averages and numeric calculations.
Area of Circle Example in Java
The area of a circle is ? (Pi) times the Radius squared,which is written A=?r2. A Java example with source code and sample output.
Odd or Even Example in Java
Odd or Even in Java: a complete example program with source code and sample output, explained step by step.
Swap with Variable Example in Java
The act of swapping two variables refers to mutually exchanging the values of the variables. A Java example with source code and sample output.
Swap Without Variable Example in Java
The act of swapping two variables refers to mutually exchanging the values of the variables. A Java example with source code and sample output.
Leap Year or Not Example in Java
Leap Year or Not explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Factorial Example in Java
The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.
LCM Example in Java
LCM explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
GCD Example in Java
A Java example program demonstrating GCD, complete with the source code and expected sample output.
Simple Calculator Example in Java
Simple Calculator explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Multiplication Table Example in Java
A multiplication table (a times table) is a mathematical table used to define a multiplication operation for an algebraic system.
Palindrome Number Example in Java
A palindromic number or numeral palindrome is a number that remains the same when its digits are reversed. A Java example with source code and sample output.
Area of Rectangle Example in Java
The area of the rectangle is the length multiplied by the width. A Java example with source code and sample output.
Palindrome String Example in Java
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. A Java example with source code and sample output.
Check Whether the Given Number Is Armstrong Number or Not Example...
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself.
Armstrong Number in a Particular Range Example in Java
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself.
Matrix Addition Example in Java
A Java example program demonstrating Matrix Addition, complete with the source code and expected sample output.
Matrix Subtraction Example in Java
Matrix Subtraction explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Matrix Multiplication Example in Java
Matrix Multiplication in Java: a complete example program with source code and sample output, explained step by step.
Transpose of a Matrix Example in Java
A Java example program demonstrating Transpose of a Matrix, complete with the source code and expected sample output.
Square Root Example in Java
Square Root explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Area of Square Example in Java
Area of Square explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Square Root Without Inbuilt Functions Example in Java
Square Root Without Inbuilt Functions explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Circumference of Circle Example in Java
Circumference is the linear distance around the edge of a closed curve or circular object. A Java example with source code and sample output.
Largest of Three Numbers Example in Java
A Java example program demonstrating Largest of Three Numbers, complete with the source code and expected sample output.
Smallest Number Example in Java
Smallest Number explained in Java, with a complete example program, its sample output, and a clear code walkthrough.
Average of N Numbers Example in Java
An average is the sum of a list of numbers divided by the number of numbers in the list. A Java example with source code and sample output.
Prime Number Example in Java
A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself.