Problema 3zcv
-
Upload
giiaan-tu-niniow -
Category
Documents
-
view
212 -
download
0
description
xcvxc
Transcript of Problema 3zcv
#include#include#include#include using namespace std;int main(){srand(time(NULL));//ESCOGEMOS UN JUEGO CON 5 PERSONA LUEGO ALTERNAMOS EL SISTEMA PARA QUE SE GENERE VARIABLES ALEATORIAS Y SE ELIMINEN DE ACUERDO A LLEGADA//ASIGNAMOS NUMEROS A LOS NOMBRESint M[5] = { rand() % 2000, rand() % 2000, rand() % 2000, rand() % 2000, rand() % 2000};int Ind[5] = { 0, 1, 2, 3, 4, };int tmp, aux;cout