下边的简易计算器为何执行不了?
#!/bin/bash read -t 30 -p "please inputA" read -t 30 -p "please inputB" read -t 30 -p "please choose +/-/*//:" C case $C in "+") echo$(($A+$B)) ;; esac
#!/bin/bash read -t 30 -p "please inputA" read -t 30 -p "please inputB" read -t 30 -p "please choose +/-/*//:" C case $C in "+") echo$(($A+$B)) ;; esac
2016-06-21
举报