Stuff
public text v1 · immutable#include <stdio.h>
#include <conio.h>
int main()
{
char name[25];
int i;
i=0;
printf("Enter the name\n");
gets(name);
printf("%c", name[0]);
while(name[i]!=' ')
{
i++;
}
i++;
printf(".");
printf("%c", name[i]);
printf(".");
while(name[i]!=' ')
{
++i;
}
i++;
while(name[i]!='\0')
{
printf("%c",name[i]);
i++;
}
getch();
return 0;
}