Closed nibsi closed 3 years ago
Write classes to model a hand of playing cards.
Add a method that determines the greatest total point value of a hand of cards that is less than or equal the maximum allowed point value. If no such value can be determined, it returns the smallest total point value of the hand of cards.
Write classes to model a hand of playing cards.
Add a method that determines the greatest total point value of a hand of cards that is less than or equal the maximum allowed point value. If no such value can be determined, it returns the smallest total point value of the hand of cards.