Challenge: Lets Play Cards

Here is a playing cards coding challenge based on the concepts covered in this chapter.

This coding challenge has been further divided into multiple parts for your ease and maximum learning.

Problem statement 1

Design a struct named Card to represent a playing card.

This struct can have two members:

  • suit
  • value
svg viewer

Get hands-on with 1000+ tech skills courses.