|
|
@ -1,15 +1,16 @@ |
|
|
|
# gcd |
|
|
|
## gcd |
|
|
|
## Instructions |
|
|
|
|
|
|
|
|
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
|
|
Write a program that takes two strings representing two strictly positive |
|
|
|
Write a program that takes two strings representing two strictly positive |
|
|
|
integers that fit in an int. |
|
|
|
integers that fit in an int. |
|
|
|
|
|
|
|
|
|
|
|
Display their greatest common divisor followed by a newline (It's always a |
|
|
|
Display their greatest common divisor followed by a newline (It is always a |
|
|
|
strictly positive integer). |
|
|
|
strictly positive integer). |
|
|
|
|
|
|
|
|
|
|
|
If the number of parameters is not 2, display a newline. |
|
|
|
If the number of parameters is not 2, display a newline. |
|
|
|
|
|
|
|
|
|
|
|
## Expected output |
|
|
|
Example of output : |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
```console |
|
|
|
student@ubuntu:~/student/gcd$ go build |
|
|
|
student@ubuntu:~/student/gcd$ go build |
|
|
|