Question: The Ace is played when both the King and Queen are showing on the table, or when neither the King and Queen are showing on the table.
The Queen is dealt in every hand except the first. The King is dealt in every hand except the last.
Write a program that determines, for each of the five hands of the game, whether or not then Ace is played. Use the truth tables and Boolean expressions to work out your logic for this.