From 669112d3f42abfc4a70993951ccde3e23f2aa05e Mon Sep 17 00:00:00 2001 From: 23_SemenovNS <23_SemenovNS@iux.local> Date: Tue, 31 Mar 2026 18:01:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20script2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script2 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 script2 diff --git a/script2 b/script2 new file mode 100644 index 0000000..bee3e9f --- /dev/null +++ b/script2 @@ -0,0 +1,6 @@ +#!/bin/bash +a=$1 +b=$2 +gcd=$(./script1.sh $a $b) +lcm=$((a * b / gcd)) +echo $lcm \ No newline at end of file