This commit is contained in:
nik
2025-10-01 22:52:39 +03:00
parent 52eacca48c
commit c10f32f1a5
25 changed files with 337 additions and 0 deletions

9
labs/lab2/scripts/script222.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
[ "$#" -ne 3 ] && echo "usage: $0 a b c" && exit 1
a=$1
b=$2
c=$3
max=$a
(( b > max )) && max=$b
(( c > max )) && max=$c
echo "$max"