//To Read and Display the word
#include<stdio.h>
main()
{
	int i;
	char a[100];
	clrscr();
	printf("enter the input\n");
	i=0;
	scanf("%c",&a[i]);
	while(a[i]!=' ')
	{
		i++;
		scanf("%c",&a[i]);
	}
	printf("output\n");
	a[i]='\0';
	i=0;
	while(a[i]!='\0')
	{
		printf("%c",a[i]);
		i++;
	}
	getch();
}