Advertisement
Guest User

Untitled

a guest
May 24th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. read a
  4. read b
  5. read c
  6. if [ $a -ge $b ]; then
  7. if [ $a -ge $c ]; then
  8. echo $a
  9. else echo $c;
  10. else if [ $b -ge $c ];
  11. then echo $b
  12. else echo $c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement