Files
Poetry/NOD
Kolomiets Dan 091fa03552 On branch second
Changes to be committed:
	new file:   NOD
abooooba
2026-02-27 17:48:14 +03:00

14 lines
101 B
Bash

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