Untitled

 avatar
unknown
plain_text
a year ago
233 B
5
Indexable
#!/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"
Editor is loading...
Leave a Comment