#include <stdlib.h>
#include <iostream.h>
#include <time.h>
#include <WINDOWS.H>
void main()
{
int base = 100;
srand(time(NULL));
for (int i=0;i<100;i++)
{
int a=rand()%base;
system("cls");
Sleep(1000);
cout<<a<<endl;
Sleep(1000);
}
}
#include <iostream.h>
#include <time.h>
#include <WINDOWS.H>
void main()
{
int base = 100;
srand(time(NULL));
for (int i=0;i<100;i++)
{
int a=rand()%base;
system("cls");
Sleep(1000);
cout<<a<<endl;
Sleep(1000);
}
}