Hello fellow programmers!
Im trying to answer the following very short question but am unsure if im doing so properly or not.
Specify, design and implement a class for a card in a deck of playing cards. The object should contain methods for setting and retrieving the suit and rank of a card.
I have the following:
ACE=1, TWO, THREE, FOUR, etc, JACK, QUEEn, KING
HEARTS, CLUBS, SPADES, DIAMONDS
SUIT suit; //declaring two instance variables
Any help is appreciated!