Well, the specification of the assignment was like this: if the number the computer guesses is too big, then the user responds with "b", then the computer guesses a smaller number, since the last guessed number was too big.
I should have specified that the limits are inclusive. So 1 and 15 could be valid guesses in the above case. For this assignment, the user should guess a number between 1 and the upper bound, both inclusive. So, if the upper bound is 100, both 1 and 100 can be valid guesses.
Well, no, but you can generate a number between 1 and 13, and have an if statement after that which generates the proper string based on the number (i.e., generate "Ace" if the number is 1, etc.)
OK, here are a couple of things to consider:
In a tie situation, the player wins, not the dealer.
as opposed to
Do you prefer one way over the other?
No. Either way is fine... whatever you prefer...