latest pushes

This commit is contained in:
2024-09-24 18:39:42 -04:00
parent dcbc55c338
commit 19d1f16b82
6 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#!/usr/bin/env bellos
# File: functions.bellos
# Defining and using functions
function greet() {
echo "Hello, $1!"
}
function add() {
echo $(($1 + $2))
}
# Calling functions
greet "User"
result=$(add 3 4)
echo "3 + 4 = $result"