Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- Printf ‘please enter the grade out of 20: ’
- read inp
- Case $inp in
- 16<Inp<20)
- Echo "very good."
- ;;
- 14<Inp<16)
- Echo "good."
- ;;
- 12<Inp<14)
- Echo "good enough."
- ;;
- 10<Inp<12)
- Echo "average."
- ;;
- 0<Inp<10)
- Echo "insufficient."
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement