THE EXERCISE OF THE GUYS GUYS HAS BEEN MOVED TO THE MENU "EXERCISE OF Teacher"

Find gCD, BCNN

Threads: Input 2 integer. Find the greatest common divisor (UCLN) and the least common multiple (BCNN) of them.
Input: A line of 2 positive integers separated by spaces.
Output: A line of 2 numbers separated by spaces that GCD, BCNN of 2 Some have.
For example:

input:
6 4
output:
2 12

You are not logged in? Log in to Submit Now!

One Comment

Add a Comment