Hi~~~ I am doing my computer project.......

and...I need your help!

this computer project is about "Memory Game"

this is following:

There are 20 cards. Each card has a number between 1- 10

each numbers occurs twice. Look at two cards,if they are the same, they are marked as taken. Game goes on until all cards are marked as taken

e.g of output:

"Enter two cards to be looked at:" // then user put 2 numbers

3,5

"card 3 has value of 7"

"card 5 has value of 6"

"Enter two cards to be looked at:"//user put 2 numbers again

3,6

"Both cards have value of 7,You found a pair!"

"Enter two cards to be looked at:"//user put 2 numbers again

3,4

"card 3 was already turned out!"

Please give me a solution..............