Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 498 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 498 Bytes

GCD and LCM Calculator

This calculator quickly computes Greatest Common Divisor (GCD) and Least Common Multiple (LCM) for given set of numbers.

Usage

The calculator is programmed in both Java and Python. You need Java or Python compiler. If not, you may use online compiler. Also the calculator uses java.util package to get user input.

Sample, e.g.:

Enter numbers: 12,6,18 (The numbers must be separated by comma.)

Output:

GCD: 6 LCM: 36

Screenshot

output