Problema 3zcv

download Problema 3zcv

If you can't read please download the document

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