fork download
  1. read a b c
  2. if [$a -gt $b] && [$a -gt &c]
  3. then
  4. echo "a is greatest"
  5. else if [$b -gt $c]
  6. then
  7. echo "b is greatest"
  8. else
  9. echo "c is greatest"
  10. fi
  11. fi
Success #stdin #stdout #stderr 0.01s 5488KB
stdin
Standard input is empty
stdout
b is greatest
stderr
./prog.sh: line 2: c]: command not found
./prog.sh: line 2: [: missing `]'