feat: добавлен скрипт НОК и интерактивный main (#2)

Co-authored-by: Ermakov
Reviewed-on: #2
This commit is contained in:
2026-02-28 08:58:10 +03:00
parent f4c21e017b
commit 3289a60d34
2 changed files with 26 additions and 0 deletions

View File

@@ -9,5 +9,7 @@ echo "Введите второе число:"
read num2
nod_result=$("$SCRIPT_DIR/script_NOD.sh" "$num1" "$num2")
nok_result=$("$SCRIPT_DIR/script_NOK.sh" "$num1" "$num2")
echo "НОД($num1, $num2) = $nod_result"
echo "НОК($num1, $num2) = $nok_result"