This commit is contained in:
2026-04-18 14:42:00 +05:00
commit ef77f101fa
96 changed files with 3134 additions and 0 deletions

10
labLinux/lab3/nums.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
read -p "Введите числа через пробел: " -a nums
sum=0
for n in "${nums[@]}"; do
((sum += n))
done
echo "Сумма чисел: $sum"