#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int i;
char c,gu;
srand((unsigned)time(NULL));
#include <stdlib.h>
#include <time.h>
int main()
{
int i;
char c,gu;
srand((unsigned)time(NULL));
c=6;
gu=rand()%6+1;
for (i=1;i<=100;i++)
{
c=rand()%31+1;
if(c>=7&&c<=13);
c=17;
if(i%9==0)
printf("%d.%c ",i,gu);
else
printf("%d.%c ",i,c);
if(i%5==0)
printf(" ");
gu=rand()%6+1;
for (i=1;i<=100;i++)
{
c=rand()%31+1;
if(c>=7&&c<=13);
c=17;
if(i%9==0)
printf("%d.%c ",i,gu);
else
printf("%d.%c ",i,c);
if(i%5==0)
printf(" ");
}
printf("please think of a number in your mind ");
getchar();
printf("the answer is:%c",gu);
return 0;
printf("please think of a number in your mind ");
getchar();
printf("the answer is:%c",gu);
return 0;
}