Practice problem
Evaluating Functions - Examples & Practice
It is your last turn in a card game, and you are deciding which of two cards to play. Card A would add points to your score while Card B would add points.
The catch is, you won't know the value of until after you play a card. After you have chosen which card to play, you will roll two fair six-sided dice (numbered 1 through 6) and take to be the sum of the two rolls.
By Tim Stellmach [Public domain], from Wikimedia Commons
Which card would result in a higher score?