Merge pull request 'On branch first' (#8) from first into master

Reviewed-on: #8
This commit is contained in:
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