Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Enter first number"
- read a
- echo "Enter second number"
- read b
- function f1()
- {
- sum=$(($1+$2))
- echo The addition is $sum
- }
- f1 $a $b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement