On branch first

Your branch is up to date with 'origin/first'.
 Changes to be committed:
	new file:   script_GCD.sh
This commit is contained in:
2026-02-27 19:02:36 +03:00
parent 946b345a58
commit 7b0200c541

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