The Guessing Game

To illustrate these programming fundamentals, we shall write a simple guessing game using Bash, the default shell for many Linux users.