From 091fa03552cf9be90da9cfb13f8e9c1e33a2a761 Mon Sep 17 00:00:00 2001 From: Kolomiets Dan <24_KolomietsDS@iux.local> Date: Fri, 27 Feb 2026 17:48:14 +0300 Subject: [PATCH] On branch second Changes to be committed: new file: NOD abooooba --- NOD | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 NOD diff --git a/NOD b/NOD new file mode 100644 index 0000000..cd35d33 --- /dev/null +++ b/NOD @@ -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