#include<conio.h>
#include<stdio.h>
void main()
{
int l,t,r,b;
char str1[100];
clrscr();
printf("Enter the coordinates of the required window");
printf("Left top : ");
scanf("%d %d",&l,&t);
printf("Right bottom : ");
scanf("%d %d",&r,&b);
printf("enter the string to be inserted into the window: ");
fflush(stdin);
gets(str1);
window(l,t,r,b);
cputs(str1);
getch();
}