/* PROGRAMA QUE IMPRIMA LOS NUMEROS PARES ENTRE 0 Y 100
AUTOR: CARLOS E. LOPEZ */
#include <conio.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
main()
{
int conta=0;
int aleatorio=0;
printf("\n\n\t\tPROGRAMA QUE IMPRIME 10 NUMEROS ALETORIOS\n\n\n");
srand(time(0));
for(conta=1;conta<=10;conta++)
{
aleatorio=rand();
printf("%d\n",aleatorio);
}
printf("\n\n\t\t");
system("PAUSE");
return 0;
}
AUTOR: CARLOS E. LOPEZ */
#include <conio.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
main()
{
int conta=0;
int aleatorio=0;
printf("\n\n\t\tPROGRAMA QUE IMPRIME 10 NUMEROS ALETORIOS\n\n\n");
srand(time(0));
for(conta=1;conta<=10;conta++)
{
aleatorio=rand();
printf("%d\n",aleatorio);
}
printf("\n\n\t\t");
system("PAUSE");
return 0;
}