Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
233 B
1
Indexable
Never
#!/bin/bash

# Read two numbers from the user
echo "Enter first number: "
read num1

echo "Enter second number: "
read num2

# Add the two numbers
sum=$((num1 + num2))

# Display the result
echo "The sum of $num1 and $num2 is: $sum"
Leave a Comment