#include <stdio.h>
#include<windows.h>
#include <time.h>
int main()
{
int i,n = 0;
srand(time(NULL));
char delay[] = {'H','o','l','l',',','W','o','r','d','!'};
for (i = 0; i <10; i++)
{
n = rand() % 1500 + 100;
Sleep(n);
printf("%c",delay[i]);
}
getchar();
return 0;h
}
#include<windows.h>
#include <time.h>
int main()
{
int i,n = 0;
srand(time(NULL));
char delay[] = {'H','o','l','l',',','W','o','r','d','!'};
for (i = 0; i <10; i++)
{
n = rand() % 1500 + 100;
Sleep(n);
printf("%c",delay[i]);
}
getchar();
return 0;h
}