Add LCM script and update main

This commit is contained in:
2026-02-26 22:40:43 +03:00
parent 73ab79e6ba
commit 748c775066
2 changed files with 21 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ read num1
echo "pls write second agr"
read num2
gcd=$(./script_GCD.sh $num1 $num2)
gcd=$(bash ./script_GCD.sh $num1 $num2)
LCM=$(bash ./script_LCM.sh $num1 $num2)
echo "GCD for $num1 and $num2 is $gcd"
echo "LCM for $num1 and $num2 is $LCM"