Each card in TigerGame is represented as an object of class Card. This class has three private member variables: rank (a value between 1-10), color (either purple or orange), and value, which is calculated as explained above. Use in-class initialization to initialize rank to 0, color to purple, and value to 0. Note that color is an enumerated type of type Color, which is added as a public member to Card.
Card has a parameterized constructor, which you will use to create an instance of each card in TigerGame (e.g., an orange card with rank 2). This constructor should initialize rank and color with the arguments provided and set value to its correct value given rank and color.
Card also has a function printCard() which must return a string in the following format:
color:rank. For example, for an orange card of rank 4 , printCard() should return orange:4.
The remaining three functions are getter functions to retrieve the values of the private member variables.