Skip to main content

Calculation Programs

Area, circumference, averages and numeric calculations.

1
calculation programs

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.

2
calculation programs

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.

3
calculation programs

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.

4
calculation programs

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.

5
calculation programs

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.

6
calculation programs

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.

7
calculation programs

LCM Example in Java

LCM explained in Java, with a complete example program, its sample output, and a clear code walkthrough.

8
calculation programs

GCD Example in Java

A Java example program demonstrating GCD, complete with the source code and expected sample output.

9
calculation programs

Simple Calculator Example in Java

Simple Calculator explained in Java, with a complete example program, its sample output, and a clear code walkthrough.

10
calculation programs

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.

11
calculation programs

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.

12
calculation programs

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.

13
calculation programs

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.

14
calculation programs

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.

15
calculation programs

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.

16
calculation programs

Matrix Addition Example in Java

A Java example program demonstrating Matrix Addition, complete with the source code and expected sample output.

17
calculation programs

Matrix Subtraction Example in Java

Matrix Subtraction explained in Java, with a complete example program, its sample output, and a clear code walkthrough.

18
calculation programs

Matrix Multiplication Example in Java

Matrix Multiplication in Java: a complete example program with source code and sample output, explained step by step.

19
calculation programs

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.

20
calculation programs

Square Root Example in Java

Square Root explained in Java, with a complete example program, its sample output, and a clear code walkthrough.

21
calculation programs

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.

22
calculation programs

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.

23
calculation programs

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.

24
calculation programs

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.

25
calculation programs

Smallest Number Example in Java

Smallest Number explained in Java, with a complete example program, its sample output, and a clear code walkthrough.

26
calculation programs

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.

27
calculation programs

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.

Related Topics

Search tutorials