shell in the SHELL
#!/bin/bash
function Sum()
{
echo -n "Enter First Number: "
read a
echo -n "Enter Second Number: "
read b
echo "Sum is: $(( a+b ))"
}
Sum
shell in the SHELL
#!/bin/bash
function Sum()
{
echo -n "Enter First Number: "
read a
echo -n "Enter Second Number: "
read b
echo "Sum is: $(( a+b ))"
}
Sum
本文标题:Bash超级会 - 7.函数 Functions
本文链接:https://www.haomeiwen.com/subject/tybhnktx.html
网友评论