Добавить script2

This commit is contained in:
2026-03-31 18:01:12 +03:00
parent e82f22575f
commit 669112d3f4

6
script2 Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
a=$1
b=$2
gcd=$(./script1.sh $a $b)
lcm=$((a * b / gcd))
echo $lcm