diff --git a/script1 b/script1 new file mode 100644 index 0000000..26c7562 --- /dev/null +++ b/script1 @@ -0,0 +1,11 @@ +#!/bin/bash + +a=$1 +b=$2 +while [ $b -ne 0 ] +do + temp=$b + b=$(($a % $b)) + a=$temp +done +echo $a \ No newline at end of file