#include<stdio.h>
#include<conio.h>
#include<time.h>
#include<windows.h>
#define H 70
#define L 20
int main()
{
char ch[H][L];
int temp1,temp2;
for(int i=0;i<L;++i)
for(int j=0;j<H;++j)
ch[i][j]='_';
srand(time(NULL));
temp1=rand()%20+1;
Sleep(1000);
srand(time(NULL));
temp2=rand()%70+1;
ch[temp1][temp2]=2;
for(i=0;i<L;++i)
{
for(int j=0;j<H;++j)
putchar(ch[i][j]);
putchar('\n');
}
return 0;
}
#include<conio.h>
#include<time.h>
#include<windows.h>
#define H 70
#define L 20
int main()
{
char ch[H][L];
int temp1,temp2;
for(int i=0;i<L;++i)
for(int j=0;j<H;++j)
ch[i][j]='_';
srand(time(NULL));
temp1=rand()%20+1;
Sleep(1000);
srand(time(NULL));
temp2=rand()%70+1;
ch[temp1][temp2]=2;
for(i=0;i<L;++i)
{
for(int j=0;j<H;++j)
putchar(ch[i][j]);
putchar('\n');
}
return 0;
}





