0 LIKES LikeUnLike
Design, implement and test a program to represent a pack of cards as an array of integers; the array should hold the values 1 to 52 to represent each of the individual cards; 1 to 13 for Hearts, 14 to 27 Clubs and so on.The following methods should be developed:- A method to output the value of the card given an integer; that is something like 4 Hearts or King of Spades- A method to shuffle the cards- A method to deal a number of cards from a pack- Any other methods that you choose to add.
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.