Question: Use the truth tables and Boolean expressions to work out your logic for this. The Ace is played when both the Queen and King are showing on the table, or when neither the King nor Queen is 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.
You have to solve the given problem using the truth tables and Boolean expressions.