Browse topics
Miscellaneous
Calculation Programs
Area, circumference, averages and numeric calculations.
calculation programsArea of Circle Example in JavaThe area of a circle is ? (Pi) times the Radius squared,which is written A=?r2. A Java example with source code and sample output.calculation programsOdd or Even Example in JavaOdd or Even in Java: a complete example program with source code and sample output, explained step by step.calculation programsSwap with Variable Example in JavaThe act of swapping two variables refers to mutually exchanging the values of the variables. A Java example with source code and sample output.calculation programsSwap Without Variable Example in JavaThe act of swapping two variables refers to mutually exchanging the values of the variables. A Java example with source code and sample output.calculation programsLeap Year or Not Example in JavaLeap Year or Not explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsFactorial Example in JavaThe factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.calculation programsLCM Example in JavaLCM explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsGCD Example in JavaA Java example program demonstrating GCD, complete with the source code and expected sample output.calculation programsSimple Calculator Example in JavaSimple Calculator explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsMultiplication Table Example in JavaA multiplication table (a times table) is a mathematical table used to define a multiplication operation for an algebraic system.calculation programsPalindrome Number Example in JavaA 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.calculation programsArea of Rectangle Example in JavaThe area of the rectangle is the length multiplied by the width. A Java example with source code and sample output.calculation programsPalindrome String Example in JavaA 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.calculation programsCheck 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.calculation programsArmstrong Number in a Particular Range Example in JavaAn Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself.calculation programsMatrix Addition Example in JavaA Java example program demonstrating Matrix Addition, complete with the source code and expected sample output.calculation programsMatrix Subtraction Example in JavaMatrix Subtraction explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsMatrix Multiplication Example in JavaMatrix Multiplication in Java: a complete example program with source code and sample output, explained step by step.calculation programsTranspose of a Matrix Example in JavaA Java example program demonstrating Transpose of a Matrix, complete with the source code and expected sample output.calculation programsSquare Root Example in JavaSquare Root explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsArea of Square Example in JavaArea of Square explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsSquare Root Without Inbuilt Functions Example in JavaSquare Root Without Inbuilt Functions explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsCircumference of Circle Example in JavaCircumference is the linear distance around the edge of a closed curve or circular object. A Java example with source code and sample output.calculation programsLargest of Three Numbers Example in JavaA Java example program demonstrating Largest of Three Numbers, complete with the source code and expected sample output.calculation programsSmallest Number Example in JavaSmallest Number explained in Java, with a complete example program, its sample output, and a clear code walkthrough.calculation programsAverage of N Numbers Example in JavaAn 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.calculation programsPrime Number Example in JavaA prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself.