Hello all!!
Please please help me..Iīve got stuck, and really bad to. I have tried so many different ways now and really donīt know what to do anymore..
I have an assigment for school, the deadline is very very close, that I need some help with. Here is a copy of it:
Write a class called deckOfCards. The class shall be able to create a deck of cards (52 different cards), shuffle the deck and pull the top card from the deck.
Then write a program that uses the class deckOfCards, for example create an object of the class, shuffle the cards and print out the top card with its suit (spades, hearts, diamonds, clubs) and value (1-13).
Can anyone please provide me with a code for it. I know I will not learn anything by not doing it by myself , it is just that I have run out of ideas...and have stared at the screen now for what seams an eternity.
So if there is anyone more clever than me out there, please help..