Programación de poker 1 a 54
# incluir ltiostream.h gt
# incluir lttime.h gt
# incluir ltstdlib.h gt
void main()
{
srand(time(NULL));
int nCard = 54
int I = 0;
int post = 0 ;
int tmp
post = I * 5 4;
i ;
cout lt lt"one shot"
cout lt lt"Número de tarjetas restantes"
for(;nCard!=position;i)
{
int m=0, n = 0;
tmp =(rand() 4 1);
m = tmp
cout lt lt" Banda B"
post = tmp;
n =((I * 5 4)-post);
cout lt lt"one shot"
post = n ;
cout lt lt"Número de cartas restantes"
}
cout lt lt"¡Una victoria!"