6 lines
78 B
Bash
6 lines
78 B
Bash
#!/bin/bash
|
|
a=$1
|
|
b=$2
|
|
gcd=$(./script1.sh $a $b)
|
|
lcm=$((a * b / gcd))
|
|
echo $lcm |