From 268d436494210ce288b84646f742eca278e9f9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C?= Date: Fri, 27 Feb 2026 18:18:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=B4=20=D0=B4=D0=BB=D1=8F=20=D1=82=D1=80=D0=B5?= =?UTF-8?q?=D1=82=D1=8C=D0=B5=D0=B3=D0=BE=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lab | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lab b/lab index 119936c..8a87095 100644 --- a/lab +++ b/lab @@ -1 +1,17 @@ -#пробная версия +#!/bin/bash + +echo "Введите первое число:" +read num1 + +echo "Введите второе число:" +read num2 + +echo "<<<<<<<<<<<|>>>>>>>>>>>" + +gcd_result=$(./script_GCD.sh $num1 $num2) +echo "НОД($num1, $num2) = $gcd_result" + +lcm_result=$(./script_LCM.sh $num1 $num2) +echo "НОК($num1, $num2) = $lcm_result" + +echo "<<<<<<<<<<<|>>>>>>>>>>>"