|
|
@ -10,6 +10,8 @@ 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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All arguments tested will be valid positive `int` values. |
|
|
|
|
|
|
|
|
|
|
|
Example of output : |
|
|
|
Example of output : |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
```console |
|
|
@ -24,5 +26,7 @@ student@ubuntu:~/student/gcd$ ./gcd 17 3 | cat -e |
|
|
|
1$ |
|
|
|
1$ |
|
|
|
student@ubuntu:~/student/gcd$ ./gcd | cat -e |
|
|
|
student@ubuntu:~/student/gcd$ ./gcd | cat -e |
|
|
|
$ |
|
|
|
$ |
|
|
|
|
|
|
|
student@ubuntu:~/student/gcd$ ./gcd 50 12 4 | cat -e |
|
|
|
|
|
|
|
$ |
|
|
|
student@ubuntu:~/student/gcd$ |
|
|
|
student@ubuntu:~/student/gcd$ |
|
|
|
``` |
|
|
|
``` |
|
|
|