Skip to content

emrecoban/gcd-lcm-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Calculates the GCD and LCM for given set of numbers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published