problema 3zcv

Download Problema 3zcv

If you can't read please download the document

Upload: giiaan-tu-niniow

Post on 07-Dec-2015

212 views

Category:

Documents


0 download

DESCRIPTION

xcvxc

TRANSCRIPT

#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