create a structure for cards it keeps track of the face card

create a structure for cards it keeps track of the face card (int) the suit (enum) and color (diff enum) create appropriate enum

Solution

Answer:

enum SUIT

{

SPADES, HEARTS, DIAMONDS, CLUBS };

enum COLOR { RED, BLACK };

struct Card

{

int face; enum SUIT suit; enum COLOR color;

}

create a structure for cards it keeps track of the face card (int) the suit (enum) and color (diff enum) create appropriate enumSolutionAnswer: enum SUIT { SPAD

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site