question; after choosed random admistation, if choose is“A player”,Do this. if choose is“B player”,Do this.
do you help me ? for this,What do you wrtie inside "if(??)"?
Thanks.
Further more: srand(time(NULL)); should only be called once at the top of main. Otherwise you will repeat random numbers which means loosing the randomness.
for example;
start program.
Then choose "A player".
I give card1 and card2.
Then
after "A player", I want to do "B player" this same.
( this program is my homework. After I must choose random either player.I Pass other player.
This is program.)
You help me.
Thanks