gcd_lcm
Calculate the greatest common divisor and least common multiple of two integers.
Instructions
Calculate GCD and LCM of two numbers.
Parameters:
a — First number.
b — Second number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |