Ques.
Write a function which prints the cards which are missing from a set of playing cards.Cards are represented in the form of string whose first letter represnts type and second is the card number.
S-1=one of pade
S-A=A's of spade
C-k=King of clubs
H=j=jack of Hearts....so on

At least attempt your homework before you ask for help.

I tried but couldnt find the solution so asked for help and I am not forcing anyone for help

At least attempt your homework before you ask for help.

I tried but couldnt find the solution

Haha, I think plgriffith meant: CREATE a solution, not google one.
Now on topic: how would you know which card was missing?

Niek

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.