ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Carta Intermedia


Enviado por   •  1 de Febrero de 2013  •  681 Palabras (3 Páginas)  •  1.964 Visitas

Página 1 de 3

#include <iostream>

#include <conio.h>

#include <time.h>

#include <stdlib.h>

using namespace std;

int x,n[13],y,m[13],z,o[13],apostar;

string op;

int main()

{

op = "s";

while (op == "s")

{

cout<<endl;

cout<<" JUEGO DE CARTAS ";

cout<<endl;

cout<<endl;

cout<<endl;

cout<<" CARTA INTERMEDIA";

cout<<"\n";

cout<<endl;

cout<<"\n";

cout<<"\n";

cout<<" PRIMERA CARTA SEGUNDA CARTA";

cout<<"\n";

srand (time(0));

for (x=1; x<=1; x++)

{

n[x]=rand()%13;

}

for (x=1; x<=1; x++)

{

cout<<"\t";cout<<"\t";

cout<<n[x]<<"\t";

cout<<"\t";

cout<<"\t";cout<<"\t";cout<<"\t";

}

for (y=1; y<=1; y++)

{

m[y]=rand()%13;

}

...

Descargar como (para miembros actualizados)  txt (1.7 Kb)  
Leer 2 páginas más »
Disponible sólo en Clubensayos.com