On branch first #8

Merged
24_KolomietsDS merged 1 commits from first into master 2026-02-27 19:05:44 +03:00

13
script_GCD.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
a=$1
b=$2
while [ $b -ne 0 ]
do
temp=$b
b=$((a % b))
a=$temp
done
echo $a