Shell腳本(二)數學運算

直接上代碼。html #!/bin/bash no1=4 no2=5 echo "using let ..." let result=no1+no2 echo "result is: ${result}" let result++ echo "result after 1 increment is: ${result}" let result+=6 echo "result after 6
相關文章
相關標籤/搜索