tomipooh@joho01-itpass:~$ ./quiz2.sh 1234 1234 1 + 2 + 3 + 4 1 * 2 * 3 + 4 (1 + 2) + 3 + 4 (1 * 2) * 3 + 4 1 + (2 + 3) + 4 1 * (2 * 3) + 4 1 + 2 + (3 + 4) (1 + 2 + 3) + 4 (1 * 2 * 3) + 4 1 + (2 + 3 + 4) 1 * (2 * 3 + 4) (1 + 2) + (3 + 4) tomipooh@joho01-itpass:~$ ./quiz2.sh 12345 12345 the number should be four-digits. tomipooh@joho01-itpass:~$ ./quiz2.sh 123 123 the number should be four-digits. tomipooh@joho01-itpass:~$ ./quiz2.sh 432 432 the number should be four-digits. tomipooh@joho01-itpass:~$ ./quiz2.sh 0432 0432 0 + 4 + 3 * 2 0 + 4 * 3 - 2 (0 + 4) + 3 * 2 (0 + 4) * 3 - 2 0 + (4 * 3) - 2 0 + 4 + (3 * 2) (0 + 4 * 3) - 2 0 + (4 + 3 * 2) 0 + (4 * 3 - 2) (0 + 4) + (3 * 2)