+ 1
Deck of 32 cards
Hi guys, I want to make a deck of 32 cards. Cards from two till Six are not counted. The rest are normal, Ace Queen jack etc.. Any suggestions?
1 Answer
+ 15
đdeclare an String array of 32 elements ,
put 1st element as Ace ,
now run a loop from index 1 to index 31
//& then apply same idea as applied in code below[use % & if else statements ]
https://code.sololearn.com/cQ3Pz4iBJt7b/?ref=app